note 102784 deleted from function.pcntl-fork by danbrown
| From: | danbrown@php.net | Date: | Sun, 06 Mar 2011 18:08:56 +0000 |
| Subject: | note 102784 deleted from function.pcntl-fork by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177598@lists.php.net to get a copy of this message | ||
Note Submitter: Tidal
----
@sean dot kelly at mediatile dot com:
(It´s a little offtopic but since you presented your code as
solution for handling fatal errors)
There is an easier way how to handle fatal errors (and other
errors).
Just use 'set_error_handler'
http://www.php.net/manual/en/function.set-error-handler.php
and/or 'ErrorException'
http://www.php.net/manual/en/class.errorexception.php