Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41488 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46729 invoked from network); 27 Oct 2008 21:43:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2008 21:43:32 -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:34313] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/72-34199-40636094 for ; Mon, 27 Oct 2008 16:43:32 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 81D9D4144059; Mon, 27 Oct 2008 21:43:35 +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 BfX1wA54u0lD; Mon, 27 Oct 2008 22:43:34 +0100 (CET) Received: from [192.168.0.151] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (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 96D28414400F; Mon, 27 Oct 2008 22:43:33 +0100 (CET) Cc: "Josh Davis" , "Stanislav Malyshev" , "Rodrigo Saboya" , internals@lists.php.net Message-ID: <94CCB864-179A-48DA-A89A-3859796A9257@pooteeweet.org> To: Sean Coates In-Reply-To: <08747094-6B50-4A0D-9057-DFD12108B6C6@caedmon.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 27 Oct 2008 22:42:28 +0100 References: <49048EC1.9060908@chiaraquartet.net> <4905EDA9.9050301@zend.com> <11c607a60810271049y419c252q7e21cde9221f1996@mail.gmail.com> <490600CD.5020207@zend.com> <11c607a60810271252r4bedeea8q59ce5423891d8e59@mail.gmail.com> <49061E01.8060503@zend.com> <11c607a60810271344i1a8cf53fl149447ad2f687f99@mail.gmail.com> <490628DB.9060209@zend.com> <11c607a60810271422l68949427pe31786275b0b152c@mail.gmail.com> <08747094-6B50-4A0D-9057-DFD12108B6C6@caedmon.net> X-Mailer: Apple Mail (2.929.2) Subject: Re: [PHP-DEV] namespace separator and whining From: mls@pooteeweet.org (Lukas Kahwe Smith) On 27.10.2008, at 22:27, Sean Coates wrote: >> You want to force users to use the full name at all times. IOW, you >> want to sacrifice convenience for performance. > > > (chiming in because it seems that we're overlooking something > obvious here) > > If it comes down to this, I'd prefer to see an E_NOTICE for the "bad > performance" use, though I don't think it's necessary to shield > users from this. There's plenty of poorly performing PHP code out > there that an extra disk access isn't going to hurt. this seems like a very good idea to me. this way things default to "just work" (which imho is the PHP spirit), while its brain dead easy to detect misuse. regards, Lukas Kahwe Smith mls@pooteeweet.org