直接使用shuffle ,不過二維陣列不適用。 ... $i = 0; while($i < 20) { $tmp = array_rand($cardArray); if(!in_array($tmp,$card2Array)) ...
確定! 回上一頁