note 12833 deleted from function.shuffle by aidan
| From: | aidan@php.net | Date: | Thu, 26 Aug 2004 22:34:34 +0000 |
| Subject: | note 12833 deleted from function.shuffle by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75370@lists.php.net to get a copy of this message | ||
Note Submitter: bdmac at ufl dot edu
----
It should probably also be noted that shuffle returns a randomized array with numeric keys. If you
try to use shuffle on an associative array you will lose the key->value mappings in the process.
It didn't take too long to figure that out but it was annoying that it wasn't mentioned in
the docs.