custom error handler

From: Date: Wed, 30 Aug 2000 12:04:02 +0000
Subject: custom error handler
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-31228@lists.php.net to get a copy of this message
Quoting Stanislav Malyshev <stas@zend.com>: > Well, you sorta have them with custom error handler. Though this might be > a valid idea too.. Speaking of the custom error handler, I have a few questions about it. One - would it be possible for it to take the array($object, 'method') syntax? Also, is it intentional that fatal errors don't get passed to the error handler function before php terminates? I can certainly see why that would have to be the case, but I just wanted to make sure. Also: how possible would it be for trigger_error to return to an enclosing code block? That would be almost half of the exception support... -chuck -- Charles Hagenbuch, <chuck@horde.org> -- "whatever is wrong with you ... it is no small thing." - Dan

« previous php.dev (#31228) next »