Ver original$size = sizeof($a);$size = ($size - 1);for($i=1; $i<=10; $i++) {$rand = rand(0, $size);echo $a[$rand].'<br>';}