Re: Re: cvs: php4 /ext/standard array.c

From: Date: Sat, 23 Nov 2002 18:34:57 +0000
Subject: Re: Re: cvs: php4 /ext/standard array.c
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-91489@lists.php.net to get a copy of this message
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@php.net) :: The PHP Project (http://www.php.net/)

« previous php.dev (#91489) next »