Re: [patch] error masks

From: Date: Tue, 25 Aug 2009 08:11:19 +0000
Subject: Re: [patch] error masks
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-45388@lists.php.net to get a copy of this message
On 08/25/2009 10:35 AM, Stanislav Malyshev wrote:
Hi!
Just wondering why nobody hasn't suggested the obvious (?) alternative yet: Why not fix error_reporting to work like one expects. As in: If an error level isn't in it, then nothing happens. Adding an extra option to do that seems a bit overkill..
Because it would break other funcions (namely, $php_errormsg, error handlers, etc.) which may be used by some.
Well, not necessarily. How doesn't your patch break them? Just do the same but without adding new option. --Jani

« previous php.internals (#45388) next »