PHP 4.0 Bug #10090: PHP code parser interprets <? and ?> tags -IN- comments
| From: | chabotc at reviewboard dot com | Date: | Sat, 31 Mar 2001 13:10:39 +0000 |
| Subject: | PHP 4.0 Bug #10090: PHP code parser interprets <? and ?> tags -IN- comments | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50411@lists.php.net to get a copy of this message | ||
From: chabotc@reviewboard.com
Operating system: Redhat Linux 7.0
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: PHP code parser interprets <? and ?> tags -IN- comments
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
--
Edit Bug report at: http://bugs.php.net/?id=10090&edit=1