php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35100 set_error_handler returns NULL, documentation says "false"
Submitted: 2005-11-04 09:05 UTC Modified: 2005-11-04 15:12 UTC
From: mfischer@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mfischer@php.net
New email:
PHP Version: OS:

 

 [2005-11-04 09:05 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-04 15:12 UTC] vrana@php.net
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().
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 12:00:02 2025 UTC