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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pta at interkan dot net
New email:
PHP Version: OS:

 

 [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: Tue May 06 02:01:28 2025 UTC