note 43855 deleted from function.set-error-handler by tomsommer
| From: | tomsommer@php.net | Date: | Tue, 06 Jul 2004 16:42:17 +0000 |
| Subject: | note 43855 deleted from function.set-error-handler by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72772@lists.php.net to get a copy of this message | ||
Note Submitter: ceo AT l-i-e DOT com
----
If the definition of your error handler function is not quite kosher, you could end up having all
errors completely swallowed.
ONE example would be to try to do:
function error_handler($no, $msg, $file, $line, &$context)
I was hoping to have the array of all variables passed by reference.
Alas, all that did was send all errors into the void.
The function itself worked fine in a unit test.