php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26767 Php code runs in the comments
Submitted: 2004-01-02 11:26 UTC Modified: 2004-01-02 13:21 UTC
From: zxc at zmail dot ru Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.4 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zxc at zmail dot ru
New email:
PHP Version: OS:

 

 [2004-01-02 11:26 UTC] zxc at zmail dot ru
Description:
------------
Why php code runs in the comments?

Reproduce code:
---------------
<?
// <?="welcome to our site!";?> it isn't comment, why?
# <?="welcome to our site!";?> it`s too...
/* <?="welcome to our site!";?> it`s too... */
?>

Expected result:
----------------
empty page


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-02 13:21 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

RTFM again.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 13:01:33 2025 UTC