I think the "step" option which you added is quite useful in every case.
Why didn't you merge into the branch? there seems no BC problem about it.

Moriyoshi

> 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 ([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
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to