Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45429 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99606 invoked from network); 28 Aug 2009 21:14:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Aug 2009 21:14:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:54917] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/11-28995-DB8489A4 for ; Fri, 28 Aug 2009 17:14:37 -0400 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 3D58F4144057; Fri, 28 Aug 2009 21:16:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ytkdc5KmtpPV; Fri, 28 Aug 2009 23:16:42 +0200 (CEST) Received: from [192.168.0.151] (217-162-131-234.dclient.hispeed.ch [217.162.131.234]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 7C3C04144009; Fri, 28 Aug 2009 23:16:41 +0200 (CEST) Cc: Richard Lynch , PHP Internals List Message-ID: <2E35C799-9806-4016-AEF7-0258EE64FC14@pooteeweet.org> To: Stanislav Malyshev In-Reply-To: <4A98477F.80308@zend.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 28 Aug 2009 23:14:28 +0200 References: <4A92D936.2010107@zend.com> <9E8BD3A3-8915-4492-88A9-7EA1A0CF6D86@prohost.org> <4A92DC60.2050606@zend.com> <4A92EA60.6020605@zend.com> <4A92F13B.9000204@zend.com> <20090825030925.GA21165@panix.com> <4A93880A.9080408@zend.com> <20090825181644.GA17485@panix.com> <64302.99.18.1251492424.squirrel@www.l-i-e.com> <4A98477F.80308@zend.com> X-Mailer: Apple Mail (2.936) Subject: Re: [PHP-DEV] [patch] error masks From: mls@pooteeweet.org (Lukas Kahwe Smith) On 28.08.2009, at 23:09, Stanislav Malyshev wrote: > As I already noted, the masking - in most cases and definitely in > recommended cases - would happen for errors that are NOT SEEN. Not > reported. Not logged. Before the patch. Which means, whatever > advantage you seek from looking at these errors, fixing them, > reviewing the code, doing anything related to them at all, etc., > etc. - you have ALREADY lost if when you decided not to report these > errors. Without the patch. Before the patch. So all arguments about > how wrong it is to disable errors when errors in fact might be > useful are, again, irrelevant - they are already disabled without > the patch. > So far, the argument that made the most sense on this topic is that > using this patch would taint you with "bad mojo", I guess because > when you sacrifice some performance to the Gods of Unreported > Errors, it's all OK, but without that sacrifice, they could become > enraged and revenge you by... I don't know, giving you more bad mojo? Of course we are well aware that you can choose to ignore errors even today. However instead of adding yet another ini setting, some of us feel we should rather focus on solving the real issues. That certain errors in certain parts of your code are unavoidable and known and that certain pieces of code will raise errors to the global error handler even though you have all the code in place to handle the issue locally. regards, Lukas Kahwe Smith mls@pooteeweet.org