From:             [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 <? 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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to