note 22269 deleted from function.shuffle by irchtml
| From: | irchtml@php.net | Date: | Wed, 07 Apr 2004 06:35:55 +0000 |
| Subject: | note 22269 deleted from function.shuffle by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67746@lists.php.net to get a copy of this message | ||
Note Submitter: eskil@funplanet.com
----
To: david[dont_spam_me]@boeke.com
I endup with the first value in the array last everytime I use your oneliner.
ex:
$arr = array (1,2,3,4,5,6,7,8,9,10);
after your shuffle the last value in the new $arr is always 1... :/