Ok, I'll fix.
-Andrei
On Aug 17, 2005, at 2:43 PM, Andrei Zmievski wrote:
I think we can provide better Unicode support in range() if we follow
a simple rule that the low and high parameters are interpreted as
codepoints at the end of the range. It would be nice to be able to do
range('\u020
I agree, but don't know how to do it.
Dmitry.
> -Original Message-
> From: Andrei Zmievski [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 18, 2005 1:44 AM
> To: Dmitry Stogov
> Cc: php-cvs@lists.php.net
> Subject: Re: [PHP-CVS] cvs: php-src /ext/standard a
I think we can provide better Unicode support in range() if we follow
a simple rule that the low and high parameters are interpreted as
codepoints at the end of the range. It would be nice to be able to do
range('\u0200', '\u0500') and get the string of all the chars inbetween.
-Andrei
On
dmitry Wed Aug 17 11:12:03 2005 EDT
Modified files:
/php-src/ext/standard array.c
/php-src/ext/standard/tests/array range.phpt
Log:
Unicode support for range()
http://cvs.php.net/diff.php/php-src/ext/standard/array.c?r1=1.315&r2=1.316&ty=u
Index: