[PHP-DEV] PHP 4.0 Bug #10090: PHP code parser interprets <? and ?> tags -IN- comments From: chabotc <email protected>
Date: 03/31/01

From: chabotc <email protected>
Operating system: Redhat Linux 7.0
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: PHP code parser interprets &lt;? and ?&gt; 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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>