PHP 4.0 Bug #10090 Updated: PHP code parser interprets <? and ?> tags -IN- comments

From: Date: Sat, 31 Mar 2001 13:12:09 +0000
Subject: PHP 4.0 Bug #10090 Updated: PHP code parser interprets <? and ?> tags -IN- comments
Groups: php.dev 
Request: Send a blank email to php-dev+get-50412@lists.php.net to get a copy of this message
ID: 10090 Updated by: cynic Reported By: chabotc@reviewboard.com Old-Status: Open Status: Bogus Bug Type: Scripting Engine problem Assigned To: Comments: read the manual. this is how it works. Previous Comments: --------------------------------------------------------------------------- [2001-03-31 08:10:39] chabotc@reviewboard.com When writing a piece of code, with a comment containing <? or ?> the block statements are still interpreted by the script parser. eg <? // this is a comment about ?> tags echo "hello"; ?> would give you a syntax error when trying to run the script. Since im writing a php source beautifier in PHP, this is kind of anoying :) -- Chris --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10090&edit=2

« previous php.dev (#50412) next »