#15904 [Opn->Csd]: Return value of eval()
| From: | hholzgra@php.net | Date: | Sat, 28 Sep 2002 19:11:59 +0000 |
| Subject: | #15904 [Opn->Csd]: Return value of eval() | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969348885@lists.php.net to get a copy of this message | ||
ID: 15904
Updated by: hholzgra@php.net
Reported By: bs_php@infeer.com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Win 2k
PHP Version: 4.1.1
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-03-06 11:31:28] bs_php@infeer.com
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 this bug report at http://bugs.php.net/?id=15904&edit=1