From: [EMAIL PROTECTED] Operating system: Win 2k PHP version: 4.1.1 PHP Bug Type: Documentation problem Bug description: Return value of eval()
The PHP doc says: "In PHP 4, eval() returns FALSE unless return() is called" But I get NULL as return value if return() is not used. I only get FALSE if an FATAL error occures during the eval(); like a parse error. -- Edit bug report at http://bugs.php.net/?id=15904&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15904&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15904&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15904&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15904&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15904&r=support Expected behavior: http://bugs.php.net/fix.php?id=15904&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15904&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15904&r=submittedtwice