Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-13 Thread Stanislav Malyshev
Hi! Change to 100% case-insensitive function names has bigger probability of BC break. I think I've seen code which used functions in a way that It's not a probability, it's a certainty. There's tons of code out there (I'm sure including 99% of all popular apps and frameworks) that uses diff

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Steven Van Poeck
Pierre Joye wrote: On Tue, May 4, 2010 at 2:14 PM, Adam Harvey wrote: 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. (

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Jan Schneider
Zitat von Adam Harvey : 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. +1 for option 1. Unless we can have some aliases to fix the problem with some PHP functions being documented non-all-lower-

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Richard Quadling
On 5 May 2010 12:16, Adam Harvey wrote: > On 5 May 2010 19:01, Steven Van Poeck wrote: >> Right. That's what I meant by inconsistent code. The call >> $logs->getSQLLogger()->logSql("...") would function I presume. >> The reason your example code does not is because it is inconsistent. You're >> c

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Pierre Joye
On Wed, May 5, 2010 at 1:20 PM, Pierre Joye wrote: > I don't think that option 2 and 3 can be done in 5.x. However I'm +1 > for option 2 in PHP 6 (whenever it comes). I meant option 1 and 2. -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtim

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Pierre Joye
On Tue, May 4, 2010 at 2:14 PM, Adam Harvey wrote: > 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 ev

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Adam Harvey
On 5 May 2010 19:01, Steven Van Poeck wrote: > Right. That's what I meant by inconsistent code. The call > $logs->getSQLLogger()->logSql("...") would function I presume. > The reason your example code does not is because it is inconsistent. You're > calling $logs->getSqlLogger() instead of $logs->

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Steven Van Poeck
Hannes Magnusson wrote: On Wed, May 5, 2010 at 11:41, Steven Van Poeck wrote: Hannes Magnusson wrote: 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

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Hannes Magnusson
On Wed, May 5, 2010 at 11:41, Steven Van Poeck wrote: > Hannes Magnusson wrote: > > 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

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Steven Van Poeck
Hannes Magnusson wrote: 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 wa

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread 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 withi

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread 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 >>

RE: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Ford, Mike
> -Original Message- > From: a...@adamharvey.name [mailto:a...@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

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Ferenc Kovacs
On Wed, May 5, 2010 at 8:44 AM, 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 loo

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Patrick ALLAERT
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

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Pieter de Zwart
I have low karma, but: +1 for option #2 On 5/4/10 5:14 AM, "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 lo

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Tomas Kuliavas
2010.05.04 20:20 Tomas Kuliavas rašė: > 2010.05.04 17:56 Derick Rethans rašė: >> On Tue, 4 May 2010, Adam Harvey wrote: >> >>> The options are: >>> >>> 1. Apply Tomas's patch to make case-insensitive lookups >>> locale-ignorant. Pros: fixes immediate problem. Cons: breaks BC for >>> case-insensitiv

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Tomas Kuliavas
2010.05.04 17:56 Derick Rethans rašė: > On Tue, 4 May 2010, Adam Harvey wrote: > >> 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 cha

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Derick Rethans
On Tue, 4 May 2010, Adam Harvey wrote: > 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

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Ferenc Kovacs
On Tue, May 4, 2010 at 2:14 PM, 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 (meth

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Richard Quadling
On 4 May 2010 13:14, Adam Harvey wrote: > 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

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Alexey Zakhlestin
On 04.05.2010, at 16:44, Steven Van Poeck wrote: > Adam Harvey wrote: >> 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 >>

[PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Mark Skilbeck
On 04/05/2010 13:14, Adam Harvey wrote: 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 eve

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Steven Van Poeck
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 inv

[PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread Adam Harvey
On 4 May 2010 20:14, Adam Harvey wrote: > If you'd care to reply with a vote for option 1, 2 or 3, I'll tally up > the votes in a week or so. And yes, I am volunteering to deal with > this should option 1 or 2 be picked. Separate e-mail for housekeeping purposes: my vote is for option 1. Adam -

[PHP-DEV] Re: Turkish/Azeri locale support

2010-05-04 Thread 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