RE: [PHP-DEV] PHP Unicode extension in PHP6
| From: | Derick Rethans | Date: | Tue, 22 May 2007 18:12:40 +0000 |
| Subject: | RE: [PHP-DEV] PHP Unicode extension in PHP6 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29665@lists.php.net to get a copy of this message | ||
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)
Derick