Trapping PHP errors
| From: | Pieter Claerhout | Date: | Tue, 14 Jan 2003 22:38:11 +0000 |
| Subject: | Trapping PHP errors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-131482@lists.php.net to get a copy of this message | ||
Hi all,
is there a way to execute a custom function as soon as an error happens in
PHP? I looked at the set_error_handler function, but it doesn't seem to trap
all the errors. What I want to achieve is to execute a function that mails
me the error everytime an error happens.
Cheers,
Pieter