On Tue, 8 Oct 2002, Sander Roobol wrote:

> On Tue, Oct 08, 2002 at 09:52:59AM -0000, Andrey Hristov wrote:
> > andrey              Tue Oct  8 05:52:59 2002 EDT
> > 
> >   Modified files:              
> >     /php4/ext/standard      string.c 
> >   Log:
> >   Now str_shuffle() has the randomization characteristics of shuffle().
> >   str_shuffle() won't return anymore the randomized string and thus will be
> >   consistent with shuffle(). Since this function is new to 4.3.0 no BC
> >   problems.
> 
> Although it's not consistant with shuffle(), I'd rather see
> str_shuffle() returning the new string instead of modifying it in place.

I agree with that.

Derick

--

---------------------------------------------------------------------------
 Derick Rethans                                   http://derickrethans.nl/ 
 JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to