Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45410 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99421 invoked from network); 26 Aug 2009 09:47:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2009 09:47:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi.nl Received: from [82.94.239.7] ([82.94.239.7:49974] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/AA-42574-0A4059A4 for ; Wed, 26 Aug 2009 05:47:14 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id n7Q9l2UZ030016; Wed, 26 Aug 2009 11:47:02 +0200 X-Virus-Scanned: by amavisd-new at jdi-ict.nl Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id n7Q9l0s6030007; Wed, 26 Aug 2009 11:47:01 +0200 Date: Wed, 26 Aug 2009 10:47:00 +0100 (BST) X-X-Sender: derick@kossu.ez.no To: Stanislav Malyshev cc: Ilia Alshanetsky , Greg Beaver , "'PHP Internals'" In-Reply-To: <4A941315.9070300@zend.com> Message-ID: References: <4A92D936.2010107@zend.com> <4A931A1C.804@chiaraquartet.net> <39F20BFC-DAA0-4403-A52E-62CE5F4CF0FE@prohost.org> <4A9346CA.3070608@chiaraquartet.net> <4B0E7BED-C2AE-4BE5-B6CA-00B810168961@prohost.org> <4A938706.8060600@zend.com> <4A941315.9070300@zend.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2 (jdi.jdi-ict.nl [127.0.0.1]); Wed, 26 Aug 2009 11:47:02 +0200 (CEST) Subject: Re: [PHP-DEV] Re: [patch] error masks From: derick@php.net (Derick Rethans) On Tue, 25 Aug 2009, Stanislav Malyshev wrote: > > Considering that there shouldn't be any errors in the first place, this > > You must be kidding me. Any fopen of non-existing file, and loading of > non-perfect XML from third party produces errors. You can test for the first case, and the second one can be prevented by using the libxml_errors functionality. > There is absolutely no way > you can write code that does anything useful that would guaranteedly never > produce errors. So we should fix that instead. > They won't be fixed. I am getting an impression nobody's actually > reading the comments, only writing. Once again: I'm not talking about > people that are looking for errors in their code to debug, I am > talking about setups disabling errors ON PURPOSE, because they DO NOT > WANT them. Different use case. And the suggestion? Yet another ini setting (some even advocate making it INI_SYSTEM, which is obviously totally wacko)... This idea is an ostrich method. > BTW we discussed that in Chicago meetup and agreed we want to do it. > Of course, not that agreeing on anything ever would stand in a way of > wasting another bunch of time on repeating same stuff over and over > and nobody listening and blocking another useful feature. I don't find it useful, and obviously not everybody agreed with all the things in Chicago either. I didn't find this back in the notes either (http://wiki.php.net/summits/pdmnotesmay09). regards, Derick