Stuff
public php v1 · immutable<?$a=10; $b=array();$c=array();function genRand($a, &$b, &$c) { for ($x=1;$x<=$a;$x++){ array_push($b,mt_rand(0,99)); } $c=array_unique($b); } function unique($a,&$b, &$c) { genRand($a, $b, $c); while (count($c)!=$a-1) { unset($c); unset($b); $b=array(); $c=array(); genRand($a, $b, $c); } return true;}unique($a, $b, $c);echo count($c)." - ".implode(", ",$c);?>