note 119695 deleted from function.set-error-handler by cmb
| From: | cmb@php.net | Date: | Thu, 04 Aug 2016 14:31:02 +0000 |
| Subject: | note 119695 deleted from function.set-error-handler by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206214@lists.php.net to get a copy of this message | ||
Note Submitter: chris at ocproducts dot com
----
Note that error handlers don't run recursively. If you have an error while an error handler is
running (in the error handler itself or code called from it) then you won't get the error
handler called again.
This has subtle ramifications for $php_errormsg. If you are relying on your error handler to
suppress certain kinds of error message from going into $php_errormsg (via return true; because
error_reporting doesn't affect $php_errormsg setting) then this will not work for any code
called within that error handler.