Re: [PHP-CVS] cvs: php-src /ext/standard array.c /ext/standard/tests/array range.phpt

2005-08-18 Thread Andrei Zmievski
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

[PHP-CVS] cvs: php-src /ext/standard array.c /ext/standard/tests/array range.phpt

2005-08-17 Thread Dmitry Stogov
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.315r2=1.316ty=u Index:

Re: [PHP-CVS] cvs: php-src /ext/standard array.c /ext/standard/tests/array range.phpt

2005-08-17 Thread Andrei Zmievski
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

RE: [PHP-CVS] cvs: php-src /ext/standard array.c /ext/standard/tests/array range.phpt

2005-08-17 Thread Dmitry Stogov
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 array.c /ext/standard/tests