ID: 32729
User updated by: bato3 at poczta dot fm
Reported By: bato3 at poczta dot fm
Status: Open
Bug Type: Scripting Engine problem
Operating System: ALL
PHP Version: 5.0.3
New Comment:
I'm forgot. That bug is in all version php, who i'm working
Previous Comments:
------------------------------------------------------------------------
[2005-04-16 18:41:47] bato3 at poczta dot fm
Description:
------------
If I coment line witch string, who include '?>' script crashed (Sorry
tor my english)
Reproduce code:
---------------
<?php //1
//print highlight_string('<?php if(foo) ?>');
?>
<?php //2
if($foo){
//print highlight_string('<?php if(foo) ?>');
}
?>//line 5
Expected result:
----------------
1: Script: OK; data: bad
2: Script: Error
Actual result:
--------------
1: ');
2: Parse error: parse error in /var/www/html/97.php on line 6
2: Unexpected end file
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32729&edit=1