Re: PHP Unicode extension in PHP6
| From: | Rangel Reale | Date: | Wed, 23 May 2007 00:37:58 +0000 |
| Subject: | Re: PHP Unicode extension in PHP6 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29672@lists.php.net to get a copy of this message | ||
For my purposes, this is ok. Will it be added to 4.x too?
----- Original Message ----- From: "Andrei Zmievski" <andrei@gravitonic.com>
To: "Tomas Kuliavas" <tokul@users.sourceforge.net>
Cc: "Jared Williams" <jared.williams1@ntlworld.com>; <internals@lists.php.net>
Sent: Tuesday, May 22, 2007 8:43 PM
Subject: Re: [PHP-DEV] PHP Unicode extension in PHP6
The 'b' prefix is available in PHP 5.2, exactly for this purpose. It just doesn't do anything. -Andrei On May 22, 2007, at 10:52 AM, Tomas Kuliavas wrote:-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 15/5/2007 10:47Recent 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php