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

From: Date: Wed, 09 Oct 2002 09:09:29 +0000
Subject: Re: cvs: php4 /ext/standard string.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14734@lists.php.net to get a copy of this message
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" <sander@php.net> To: "Andrey Hristov" <andrey@webgate.bg> Cc: <php-cvs@lists.php.net> 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 >

« previous php.cvs (#14734) next »