note 34571 deleted from function.shuffle by aidan
| From: | aidan@php.net | Date: | Thu, 26 Aug 2004 22:33:45 +0000 |
| Subject: | note 34571 deleted from function.shuffle by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75366@lists.php.net to get a copy of this message | ||
Note Submitter: mgelinas at laurentia dot com
----
After much trials, I found out that calling srand() prior to shuffle() is irrelevant. It is the
number of repetitive calls to shuffle() that randomize the array elements. The shuffle() function
certainly needs some work or at least the manual.