note 11128 deleted from array_rand by torben
| From: | torben@php.net | Date: | Sat, 03 Mar 2001 22:06:04 +0000 |
| Subject: | note 11128 deleted from array_rand by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11833@lists.php.net to get a copy of this message | ||
Interesting tidbit: if the number of elements you request is equal to the total number of elements
int the array, it seems to reliably return a list of keys in the original order.
I don't seem to be able to randomly reorder an array, as I wish.