RE: [PHP-DEV] Re: Turkish/Azeri locale support
| From: | Ford, Mike | Date: | Wed, 05 May 2010 07:50:42 +0000 |
| Subject: | RE: [PHP-DEV] Re: Turkish/Azeri locale support | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48211@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: adam@adamharvey.name [mailto:adam@adamharvey.name] On Behalf
> Of Adam Harvey
> Sent: 04 May 2010 13:15
> 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.)
>
> 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.
>
> 3. Do nothing. Pros: no BC breaks of any kind. Cons: continues to
> annoy Turkish and Azeri developers and those developing for those
> locales.
Low karma here, too, but for what it's worth I'm for option 2.
(I can never remember what's case sensitive and what's not, so I always write code that
would work either way anyway!)
Cheers!
Mike
--
Mike Ford,
Electronic Information Developer, Libraries and Learning Innovation,
Leeds Metropolitan University, C507, Civic Quarter Campus,
Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 812 4730
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm