Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60250 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4286 invoked from network); 21 Apr 2012 14:12:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Apr 2012 14:12:01 -0000 Authentication-Results: pb1.pair.com header.from=robert@interjinn.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=robert@interjinn.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain interjinn.com from 216.58.45.229 cause and error) X-PHP-List-Original-Sender: robert@interjinn.com X-Host-Fingerprint: 216.58.45.229 216-58-45-229.cpe.distributel.net Received: from [216.58.45.229] ([216.58.45.229:57682] helo=interjinn.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/B0-28308-030C29F4 for ; Sat, 21 Apr 2012 10:12:01 -0400 Received: by interjinn.com (Postfix, from userid 5001) id 2852686A011; Sat, 21 Apr 2012 10:11:58 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gruknuk.suds X-Spam-Level: X-Spam-Status: No, score=-2.9 required=7.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Received: from [192.168.1.3] (blobbie [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by interjinn.com (Postfix) with ESMTPSA id BC9B286A00E; Sat, 21 Apr 2012 10:11:57 -0400 (EDT) Message-ID: <4F92C02D.806@interjinn.com> Date: Sat, 21 Apr 2012 10:11:57 -0400 Organization: InterJinn User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= CC: Stefan Neufeind , 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; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Complete case-sensitivity in PHP From: robert@interjinn.com (Robert Cummings) On 12-04-20 07:56 PM, Johannes Schlüter 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()? Cry! :) Cheers, Rob. -- E-Mail Disclaimer: Information contained in this message and any attached documents is considered confidential and legally protected. This message is intended solely for the addressee(s). Disclosure, copying, and distribution are prohibited unless authorized.