I thought of that. If that is the desired behaviour I will do it.
So if I receive another +1 I will do it :)
Or....to add additional parameter(with default to work on the original
string)
 to switch the behavior.

Andrey

----- Original Message -----
From: "Sander Roobol" <[EMAIL PROTECTED]>
To: "Andrey Hristov" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 7:20 PM
Subject: Re: [PHP-CVS] cvs: php4 /ext/standard string.c


> 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.
>
> Sander
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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

Reply via email to