Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48212 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81043 invoked from network); 5 May 2010 08:25:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2010 08:25:31 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:44014] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/89-08048-A7B21EB4 for ; Wed, 05 May 2010 04:25:31 -0400 Received: by wyb34 with SMTP id 34so406033wyb.29 for ; Wed, 05 May 2010 01:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=bwbU5E5EFd5UNfv/pugvt59mhzvK5LSPuXHO5Mt6HVw=; b=XH9uMpvrEfXProJu9xW2zcgvgUKkLW7Ve7UK4BM4ANi6cX/EGW0V/tlrixUuy+eoXl Ae7u3SsVe5PLECTNnk2hbyWt2ZBuNYTtwGOHsd4CxeyJoNMFkpf2qdaOgRKIdwesGDJk 6Yz0JpmaDSsKVXPzO94JS0Qk+wvuJeGSBnoN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IW80ESeddZj4OlLK71r2t+Sd6G9hMgqJdeMMnBer+G7AdJbyVeu57xV0+flK34RALA 6Peom2yKVr9e1oe/mbV2w++JvxLObLhQOjlMqh+RJBHaJtgMCWGk4y5l6CbA+F0PaWVZ Pd8ngiC8epCnNIFQcGFF056yohmSqe7iEEcns= MIME-Version: 1.0 Received: by 10.216.89.199 with SMTP id c49mr2254116wef.9.1273047927805; Wed, 05 May 2010 01:25:27 -0700 (PDT) Received: by 10.216.163.194 with HTTP; Wed, 5 May 2010 01:25:27 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 May 2010 10:25:27 +0200 Message-ID: To: Adam Harvey Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: Turkish/Azeri locale support From: hannes.magnusson@gmail.com (Hannes Magnusson) On Tue, May 4, 2010 at 14:14, Adam Harvey wrote: > 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 l= ack >> of a dot). > > 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. > > (To be completely clear, this is purely for trunk. This certainly > isn't a candidate for backporting to 5.3.) > > The options are: > > 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.) +1 > 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. There is no way this can happen. It will break massive amount of code and will cause major headaches for people using __call(). -Hannes