#35100 [Opn->Csd]: set_error_handler returns NULL, documentation says "false"
| From: | vrana@php.net | Date: | Fri, 04 Nov 2005 14:12:18 +0000 |
| Subject: | #35100 [Opn->Csd]: set_error_handler returns NULL, documentation says "false" | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370775@lists.php.net to get a copy of this message | ||
ID: 35100
Updated by: vrana@php.net
Reported By: mfischer@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Not only set_error_handler() but also set_exception_handler(),
property_exists() and get_class_methods().
Previous Comments:
------------------------------------------------------------------------
[2005-11-04 09:05:27] mfischer@php.net
Description:
------------
set_error_handler() is documented to return "false" when no prior
custom error handler was specified. However, the returned value is
NULL, as can be seen here:
http://cvs.php.net/co.php/ZendEngine2/zend_builtin_functions.c?r=1.297#1286
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35100&edit=1