note 15416 added to function.set-error-handler
| From: | geoffATproductivityDOTcoDOTuk at php2 dot chek dot com | Date: | Sun, 09 Sep 2001 19:16:50 +0000 |
| Subject: | note 15416 added to function.set-error-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17848@lists.php.net to get a copy of this message | ||
USING A CLASS AS AN ERROR HANDLER
Hairmare asked how to use a class. The only answer I have found is to register a passthrough
function as the error handler. When the function is called by PHP, it instantiates the class and
passes on the error parameters.
http://www.php.net/manual/en/function.set-error-handler.php