note 55409 deleted from function.set-error-handler by cmb
| From: | cmb@php.net | Date: | Sun, 13 Oct 2019 07:31:47 +0000 |
| Subject: | note 55409 deleted from function.set-error-handler by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212590@lists.php.net to get a copy of this message | ||
Note Submitter: eregon at eregon dot info
----
It is not possible to handle fatal errors with own handler. Even if you have set your own handler,
fatal error will be always handled by PHP's default handler. The reason is the script may be in
unstable state after fatal error occurence (details here: http://marc.theaimsgroup.com/?l=php-dev&m=97673386418430&w=2).