[PHP-DEV] Bug #1184: Invalid Parsing of comments From: curt <email protected>
Date: 02/25/99

From: curt <email protected>
Operating system: NT/FreeBSD
PHP version: 3.0.6
PHP Bug Type: Other
Bug description: Invalid Parsing of comments

When I have a single line comment (// or #) the
parser seems to see the php end tag (?>) inside of
a string constant.

to reproduce the problem:
<?

$strtoeval = '<b><?echo "hello world"?></b>';
// eval ('?>'. $strtoeval);

?>

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>