Bug #15904: Return value of eval()
| From: | bs_php at infeer dot com | Date: | Wed, 06 Mar 2002 16:31:28 +0000 |
| Subject: | Bug #15904: Return value of eval() | ||
| Groups: | php.bugs php.doc | ||
| Request: | Send a blank email to php-bugs+get-1793@lists.php.net to get a copy of this message | ||
From: bs_php@infeer.com
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