php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11303 Comment Characters
Submitted: 2001-06-05 23:12 UTC Modified: 2001-06-12 15:32 UTC
From: pta at interkan dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.5 OS: Windows 2000 SP1
Private report: No CVE-ID: None
 [2001-06-05 23:12 UTC] pta at interkan dot net
The "#" and "//" methods of commenting do not appear to be working on a Windows 2000 server.

Example:
------------------------------------------
# Comment
$var = "a statement";

// Comment
$var2 = "another statement";
------------------------------------------

The above example resulted in the comments and the comment characters being printed to the browser window.

The /* comment */ method appears to work fine, however.

The only environmental change to the server was upgrading to PHP v.4.0.5 and this error does not occur on our Linux servers.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-12 15:32 UTC] jmoore@php.net
Fixed in CVS, thanks for your report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 23:01:28 2025 UTC