Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48213 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83374 invoked from network); 5 May 2010 08:38:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2010 08:38:16 -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 188.40.37.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 188.40.37.16 hq1.backendmedia.com Linux 2.6 Received: from [188.40.37.16] ([188.40.37.16:36645] helo=hq1.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/0A-08048-67E21EB4 for ; Wed, 05 May 2010 04:38:15 -0400 Received: from localhost (unknown [127.0.0.1]) by hq1.backendmedia.com (Postfix) with ESMTP id 797E1200C18A; Wed, 5 May 2010 08:38:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from hq1.backendmedia.com ([127.0.0.1]) by localhost (hq1.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DkJ6qBJpbVTC; Wed, 5 May 2010 10:38:10 +0200 (CEST) Received: from [192.168.80.107] (77-58-249-88.dclient.hispeed.ch [77.58.249.88]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by hq1.backendmedia.com (Postfix) with ESMTPSA id 82475200C188; Wed, 5 May 2010 10:38:10 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=utf-8 In-Reply-To: Date: Wed, 5 May 2010 10:38:09 +0200 Cc: Adam Harvey , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Patrick ALLAERT X-Mailer: Apple Mail (2.1078) Subject: Re: [PHP-DEV] Re: Turkish/Azeri locale support From: mls@pooteeweet.org (Lukas Kahwe Smith) On 05.05.2010, at 08:44, Patrick ALLAERT wrote: > 2010/5/4 Adam Harvey : >> On 19 April 2010 11:58, Adam Harvey wrote: >>> As at least some of you would already be aware, there's a >>> long-standing issue with using PHP in a Turkish or Azeri locale, >>> namely that case-insensitive lookups within the Zend engine (method >>> names, for example) fail on lookups involving upper-case I = characters, >>> since lower-case I in those languages is =C4=B1 instead of i (note = the lack >>> of a dot). >>=20 >> Well, I'm going to assume that people have had whatever say they were >> going to. It seems that we have three options, so let's put it to a >> vote. >>=20 >> (To be completely clear, this is purely for trunk. This certainly >> isn't a candidate for backporting to 5.3.) >>=20 >> The options are: >>=20 >> 1. Apply Tomas's patch to make case-insensitive lookups >> locale-ignorant. Pros: fixes immediate problem. Cons: breaks BC for >> case-insensitive function/method name lookups for high-bit characters >> in single-byte encodings. (Not that we've ever advertised or >> documented that.) >>=20 >> 2. Make function/method names case-sensitive, per Stan's e-mail. = Pros: >> fixes problem; brings PHP into line with most other languages; extra >> consistency with variables; possible performance improvement. Cons: = BC >> break from current documented behaviour. >=20 > Once and for all: +1 for #2 (BTW that kind of BC will not be that hard = to fix!) we have had the topic of making PHP case sensitive before. I do not find = the above reason all that compelling to make this change. However there = are several other reasons that imho are more relevant for making this = change. > RMs: should this really be part of PHP 5.4 if it gets approved? no way. regards, Lukas Kahwe Smith mls@pooteeweet.org