Well, couple of reasons:

1) Once you completely hide an error there is absolutely no trace what so ever that it has even occurred, even if its the slowdown of the native error handler being.

2) Debugging code becomes that much more trickier, since a single option effectively turns off PHP's error handling completely.

As far as I can tell the only benefit of this patch is to allow error prone code to run faster by avoiding the slow down of generating error message strings when errors occurs, but the downside is abuse by people who just want errors to go away... IMHO the downside outweighs the upside.

On 24-Aug-09, at 2:30 PM, Stanislav Malyshev wrote:

Hi!

While the patch is certainly interesting, I think masking errors is a really really bad idea.

Any argument as to why?
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com


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

Reply via email to