Re: cvs: php4 /ext/standard string.c
| From: | Sander Roobol | Date: | Tue, 08 Oct 2002 16:20:54 +0000 |
| Subject: | Re: cvs: php4 /ext/standard string.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-14715@lists.php.net to get a copy of this message | ||
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