Andrey Hristov wrote:
Good 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 :)

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,
- Chris

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to