note 119696 added to function.set-error-handler
| From: | chris at ocproducts dot com | Date: | Thu, 04 Aug 2016 10:53:07 +0000 |
| Subject: | note 119696 added to function.set-error-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206211@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 72.52.91.14
Probable Submitter: 178.101.220.110
----
Manual Page -- http://php.net/manual/en/function.set-error-handler.php
Edit -- https://master.php.net/note/edit/119696
Del: integrated -- https://master.php.net/note/delete/119696/integrated
Del: useless -- https://master.php.net/note/delete/119696/useless
Del: bad code -- https://master.php.net/note/delete/119696/bad+code
Del: spam -- https://master.php.net/note/delete/119696/spam
Del: non-english -- https://master.php.net/note/delete/119696/non-english
Del: in docs -- https://master.php.net/note/delete/119696/in+docs
Del: other reasons-- https://master.php.net/note/delete/119696
Reject -- https://master.php.net/note/reject/119696
Search -- https://master.php.net/manage/user-notes.php