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

ID: 10090
Updated by: cynic
Reported By: chabotc <email protected>
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 <email protected>
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

-- 
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>