php-developer-list | 2002112
Date: 11/23/02
- Next message: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- Previous message: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- In reply to: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- Next in thread: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- Reply: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Nov 24, 2002 at 03:28:45AM +0900, Moriyoshi Koizumi wrote:
> Hmm, since nothing is mentioned about the rule of character sequence
> generation in the manual, I don't think it's so necessary. IMO this new
> feature introduced in 4.1.0 should not be included in the first place
> because it broke backwards compatibilities pretty much as one of the user
> contributed notes says and its behaviour is also as unexpectable as the
> number of charset - encoding mappings out there.
Yes, I can see that causing problems. I think it's necessary to leave
the capability to generate character sequences in there now, though,
for all sorts of backwards-compatibility reasons.
My change to range() (the addition of the "step" parameter) was
primarily inspired by Python's range() function, described here:
http://www.python.org/doc/current/lib/built-in-funcs.html#l2h-47
The Python version does not handle characters, which (as we both
agree) is the "better" implementation.
-- Jon Parise (jon <email protected>) :: The PHP Project (http://www.php.net/)-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- Previous message: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- In reply to: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- Next in thread: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- Reply: Moriyoshi Koizumi: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard array.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

