Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60251 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14537 invoked from network); 21 Apr 2012 16:59:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Apr 2012 16:59:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=neufeind@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=neufeind@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 91.184.32.3 as permitted sender) X-PHP-List-Original-Sender: neufeind@php.net X-Host-Fingerprint: 91.184.32.3 mail.speedpartner.de Linux 2.5 (sometimes 2.4) (4) Received: from [91.184.32.3] ([91.184.32.3:49821] helo=mail.speedpartner.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/91-28308-657E29F4 for ; Sat, 21 Apr 2012 12:59:04 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.speedpartner.de (Postfix) with ESMTP id 94D4BB3C6E for ; Sat, 21 Apr 2012 18:58:59 +0200 (CEST) Received: from mail.speedpartner.de ([127.0.0.1]) by localhost (mail.speedpartner.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h3IHghXMKKfc for ; Sat, 21 Apr 2012 18:58:59 +0200 (CEST) Received: from collab.speedpartner.de (collab.speedpartner.de [91.184.32.10]) by mail.speedpartner.de (Postfix) with ESMTP id 7FBFBB3AFB for ; Sat, 21 Apr 2012 18:58:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by collab.speedpartner.de (Postfix) with ESMTP id 1ED9BCB6147 for ; Sat, 21 Apr 2012 18:58:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at collab.speedpartner.de Received: from collab.speedpartner.de ([127.0.0.1]) by localhost (collab.speedpartner.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vo3pWxFs2sK3 for ; Sat, 21 Apr 2012 18:58:57 +0200 (CEST) Received: from [192.168.4.28] (ip-62-143-28-82.unitymediagroup.de [62.143.28.82]) by collab.speedpartner.de (Postfix) with ESMTPSA id 8BB7CCB6146 for ; Sat, 21 Apr 2012 18:58:57 +0200 (CEST) Message-ID: <4F92E73E.1050100@php.net> Date: Sat, 21 Apr 2012 18:58:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: internals@lists.php.net References: <4F91EE62.8080400@php.net> <1334966164.2851.1.camel@guybrush> In-Reply-To: <1334966164.2851.1.camel@guybrush> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Complete case-sensitivity in PHP From: neufeind@php.net (Stefan Neufeind) On 04/21/2012 01:56 AM, Johannes � wrote: > On Sat, 2012-04-21 at 01:16 +0200, Stefan Neufeind wrote: >> I think we might possibly add a >> special kind of "deprecation" where the non-matching case would still >> work but (if you activate those deprecation-warnings) would trigger >> warnings so you can clean up your code. > > yay - two lookups instead of one ;-) > > and what would you do in this strange, but possible case: > The functions Foo() and FOO() exist but the user calls foo()? Tell him it doesn't exist and suggest to go fix his code ... PS: That was a rethorical question? :-) Regards, Stefan