Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39252 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76865 invoked from network); 24 Jul 2008 01:08:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2008 01:08:58 -0000 Authentication-Results: pb1.pair.com header.from=cellog@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=cellog@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 208.83.222.18 as permitted sender) X-PHP-List-Original-Sender: cellog@php.net X-Host-Fingerprint: 208.83.222.18 unknown Linux 2.6 Received: from [208.83.222.18] ([208.83.222.18:40688] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/F1-61638-826D7884 for ; Wed, 23 Jul 2008 21:08:57 -0400 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 42B51C0D5CF; Wed, 23 Jul 2008 18:08:54 -0700 (MST) Received: from [192.168.1.142] (static-64-115-191-41.isp.broadviewnet.net [64.115.191.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 6778EC0D5CA; Wed, 23 Jul 2008 18:08:53 -0700 (MST) Message-ID: <4887D617.2010300@php.net> Date: Wed, 23 Jul 2008 21:08:39 -0400 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Stanislav Malyshev CC: Lukas Kahwe Smith , PHP Developers Mailing List , Dmitry Stogov References: <486FA5FB.1000300@php.net> <4872B5D4.1000205@zend.com> <4877CE04.4070104@chiaraquartet.net> <487F880B.2090002@zend.com> <6A0D6007-9076-466B-9AF8-018451145466@pooteeweet.org> <487F96E0.1050208@zend.com> In-Reply-To: <487F96E0.1050208@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: towards a 5.3 release From: cellog@php.net (Greg Beaver) Stanislav Malyshev wrote: > Hi! > >> Of course its predictable. What Greg meant is "error prone". The >> difference is if we want to by default lower the chance of programming >> mistakes or ensure maximum performance with little effort for users >> with autoload (and long include path lists). > > I think silent performance disaster is much worse than error message > which makes it obvious what the mistake was. Me too. This is the problem I am referring to: a.php: b.php: c.php: The above code will throw an ::Exception, not a Foo::Exception. With the proposed change, it works as advertised. This code: throws a Foo::Exception and echoes "caught", demonstrating the importance of load order as well. This is *far* from an obvious error message, it is a silent logic error that is far more serious than a silent performance problem. Stas, your response is quite frustrating to this problem and fits a pattern. It seems the default response is always "no" or "that's not a real problem" and is almost always condescending. It makes it extremely difficult to have an intelligent debate with you. If you don't think something is a real problem, perhaps a better default response is "why does this person think it is an issue and I don't?" The impression your response gives is that your first thought is instead "why is XXX such an idiot who must waste my time?" I know you well enough to know that this is not what you're thinking, but it would save a lot of time if we can skip the "what the hell" stage and move right to "let's verify this and fix it" or "more evidence needed, I see your point but what about XX?" Thanks, Greg