Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18137 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17765 invoked by uid 1010); 15 Aug 2005 17:00:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17748 invoked from network); 15 Aug 2005 17:00:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2005 17:00:52 -0000 Received: from ([127.0.0.1:12148]) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with ECSTREAM id 64/6A-33075-44AC0034 for ; Mon, 15 Aug 2005 13:00:52 -0400 X-Host-Fingerprint: 195.50.206.119 195-50-206-119-dsl.krw.estpak.ee Received: from ([195.50.206.119:29908] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 3D/03-33075-E1BAFF24 for ; Sun, 14 Aug 2005 16:35:42 -0400 Message-ID: <3D.03.33075.E1BAFF24@pb1.pair.com> To: internals@lists.php.net Date: Sun, 14 Aug 2005 23:35:27 +0300 References: <42FCE0E4.604@lerdorf.com> <005001c59f70$9bc3ef70$5c8be5a9@ohr.berkeley.edu> <327674995.20050813145826@marcus-boerger.de> <931793434.20050813160237@marcus-boerger.de> Lines: 23 Organization: KMA User-Agent: KNode/0.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Posted-By: 195.50.206.119 Subject: Re: [PHP-DEV] Re: PHP 6.0 Wishlist From: ants.aasma@gmail.com (Ants Aasma) Marcus Boerger wrote: > to prevent confusion with more readers - i am against an ini option here. > Either keep the way it is right now or make everything case sensitive. > And of course i like speed which is support for the latter to be clear. What about deprecating case-insensitive identifiers but keeping them working. Wouldn't something like following work? lookup case-sensitive identifier if not found then lookup case-insensitive identifier if found then raise notice/warning and continue as usual else fall down and catch fire That way correct usage should be fast and incorrect usage work. And the case-insensitive fallback could be removed in PHP7 :) --- Ants Aasma