RE: [PHP-DEV] PHP Unicode extension in PHP6
| From: | Tomas Kuliavas | Date: | Tue, 22 May 2007 17:52:07 +0000 |
| Subject: | RE: [PHP-DEV] PHP Unicode extension in PHP6 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29664@lists.php.net to get a copy of this message | ||
>
> 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.
I can't maintain two different library versions, because issue affect lots
of functions. Currently I can only stop script execution, if
unicode.semantics=on is detected. Main complain is the fact that scripts
can't control mbstring.func_overload and unicode.semantics. Only script
writters know, if their code depends on overloading or unicode syntax. End
users might be unable to change settings in PHP_INI_PERDIR.
Thanks to all for feedback.
--
Tomas