RE: [PHP-DEV] PHP Unicode extension in PHP6
| From: | Richard Lynch | Date: | Thu, 24 May 2007 21:08:09 +0000 |
| Subject: | RE: [PHP-DEV] PHP Unicode extension in PHP6 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29727@lists.php.net to get a copy of this message | ||
On Tue, May 22, 2007 1:12 pm, Derick Rethans wrote:
> On Tue, 22 May 2007, Tomas Kuliavas wrote:
>
>> >
>> > Recent versions of PHP5, has a binary string introducer.
>> >
>> > echo strlen(b"\xC4\x85");
>>
>> I have already said to Stefan. It is not an option. I need backwards
>> compatibility. If older PHP versions fail with E_PARSE errors, I
>> can't use
>> it.
>
> derick@kossu:~$ php -r 'echo strlen(b"\xC4\x85"), "\n";'
> 2
>
> works fine here... (with php 5.2)
One data point:
I use squirrelMail all day, every day, on a webhost that still runs 4.4.1
However wrong that may be, it is the Reality Tomas has to deal with.
If it won't work in the zillion PHP 4 environments he is stuck
supporting, then he can't use it.
Get the world to update to 5.2, and all is good...
That seems unlikely to happen in the immediate future, afaics, no
matter how much we might wish it did.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?