Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63150 invoked from network); 25 Aug 2009 08:11:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2009 08:11:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@iki.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@iki.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain iki.fi from 204.13.248.71 cause and error) X-PHP-List-Original-Sender: jani.taskinen@iki.fi X-Host-Fingerprint: 204.13.248.71 mho-01-ewr.mailhop.org Received: from [204.13.248.71] ([204.13.248.71:58513] helo=mho-01-ewr.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/95-33714-CAC939A4 for ; Tue, 25 Aug 2009 04:11:25 -0400 Received: from a88-112-30-186.elisa-laajakaista.fi ([88.112.30.186] helo=localhost.localdomain) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.68) (envelope-from ) id 1Mfr7h-0009Qi-Gb; Tue, 25 Aug 2009 08:11:21 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 88.112.30.186 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18AuCJDc6cQ0BbJPSc3w20lhsjZn5XkwDw= Message-ID: <4A939CA7.20702@iki.fi> Date: Tue, 25 Aug 2009 11:11:19 +0300 Reply-To: jani.taskinen@iki.fi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Stanislav Malyshev CC: 'PHP Internals' References: <4A92D936.2010107@zend.com> <9E8BD3A3-8915-4492-88A9-7EA1A0CF6D86@prohost.org> <4A92DC60.2050606@zend.com> <4A92EA60.6020605@zend.com> <4A92F13B.9000204@zend.com> <4A92FFA8.1060401@zend.com> <4A9304FC.2000906@sci.fi> <4A930956.9070709@zend.com> <4A9391ED.40206@iki.fi> <4A93944D.3070702@zend.com> In-Reply-To: <4A93944D.3070702@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [patch] error masks From: jani.taskinen@iki.fi (Jani Taskinen) 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