php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #41680 set_error_handler is unclear on the effects of retuning false
Submitted: 2007-06-13 14:32 UTC Modified: 2007-08-17 02:28 UTC
From: tbajan at mintel dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Unix
Private report: No CVE-ID: None
 [2007-06-13 14:32 UTC] tbajan at mintel dot com
Description:
------------
The documentation says "The error handler must return FALSE to populate $php_errormsg."  It is not clear that returning false from the error handler also runs the whole default PHP error handler.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-17 02:28 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.

"If the function returns FALSE then the normal error handler continues."
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 05 20:00:03 2025 UTC