PHP shuffle vs rand - which produces better randomness
<p>Does any one know which of the two choices for random number generation is going to produce a better randomness:</p>

<pre><code>&lt;?php
$array = array(1,2,3,4,5,6);

shuffle($array);
echo $array[0];

//// OR ////

echo rand(1,6);

?&gt;
</code></pre>

<p>Or perhaps theres an even better option I am unaware of?</p>
