Bug #15911: call to undefined function in eval ()'ed code causes script to die
| From: | sander@php.net | Date: | Wed, 06 Mar 2002 19:06:41 +0000 |
| Subject: | Bug #15911: call to undefined function in eval ()'ed code causes script to die | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-1817@lists.php.net to get a copy of this message | ||
From: sander@php.net
Operating system: Debian (Sid) Linux
PHP version: 4.0CVS-2002-03-06
PHP Bug Type: Unknown/Other Function
Bug description: call to undefined function in eval ()'ed code causes script to die
If eval()'ed code contains a parse error, the rest of the php script will
continue. If it contains a call to an undefined function, it will die, and
it won't execute the rest of the script.
That's very inconsistant behaviour!!!!
<?php
eval("foo();");
echo "bar"; // this will never be executed!!!
?>
--
Edit bug report at http://bugs.php.net/?id=15911&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15911&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15911&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15911&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15911&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15911&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15911&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15911&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15911&r=submittedtwice