4.21.3. Discussion
There's already a shuffle( )
function in PHP to shuffle arrays, but as of PHP 4.2.2, it
doesn't do its job correctly. The built-in shuffling
algorithm tends to favor certain permutations more than others.
Elements end up looking randomized, but since each element
doesn't have the same chance of ending up in each
position, it's not a true shuffle. This is fixed in
PHP 4.3.