Bug #1184: Invalid Parsing of comments
| From: | curt at emusic dot com | Date: | Thu, 25 Feb 1999 15:55:13 +0000 |
| Subject: | Bug #1184: Invalid Parsing of comments | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4284@lists.php.net to get a copy of this message | ||
From: curt@emusic.com
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@lists.php.net
For help: php-dev-help@lists.php.net