note 124230 added to function.shuffle
| From: | bilgeweb dot onur at gmail dot com | Date: | Tue, 24 Sep 2019 10:47:04 +0000 |
| Subject: | note 124230 added to function.shuffle | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-212349@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.168 (proxied: 176.239.94.111)
----
Manual Page -- http://php.net/manual/en/function.shuffle.php
Edit -- https://master.php.net/note/edit/124230
Del: integrated -- https://master.php.net/note/delete/124230/integrated
Del: useless -- https://master.php.net/note/delete/124230/useless
Del: bad code -- https://master.php.net/note/delete/124230/bad+code
Del: spam -- https://master.php.net/note/delete/124230/spam
Del: non-english -- https://master.php.net/note/delete/124230/non-english
Del: in docs -- https://master.php.net/note/delete/124230/in+docs
Del: other reasons-- https://master.php.net/note/delete/124230
Reject -- https://master.php.net/note/reject/124230
Search -- https://master.php.net/manage/user-notes.php