From: [EMAIL PROTECTED] 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