Re: Re: error_handler, was [PHP-DEV] B3, pear segfault,
| From: | Christian Schneider | Date: | Thu, 18 Dec 2003 22:39:20 +0000 |
| Subject: | Re: Re: error_handler, was [PHP-DEV] B3, pear segfault, | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6574@lists.php.net to get a copy of this message | ||
Andrey Hristov wrote:
No, that's where you are wrong: I use the auto-initialization feature for variables/array elements all the time (I think it's one of PHP's best features, despise me if you want) but I want to be able to give a debug_backtrace and other info in case there's a _real_ runtime error. 'Nuf said, - ChrisGood question. Having an error handling function becomes really expensive if your code is not E_ALL-clean in a loop or something.if you set a custom error handler you know what you are doing and probably don't have such places in the code :)