note 124230 deleted from function.shuffle by cmb
| From: | cmb@php.net | Date: | Tue, 24 Sep 2019 11:06:54 +0000 |
| Subject: | note 124230 deleted from function.shuffle by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212350@lists.php.net to get a copy of this message | ||
Note Submitter: bilgeweb dot onur at gmail dot com
----
This is another idea, here's a simple primer to mix relational sequences: simple, fast and
simple, it works!
<?php
uksort($myArray, function ($a, $b) {return mt_rand(-10, 10);});
?>
Here http://onurboz.com It is ready to answer for any questions.