array1 = [1, 2]; $array2 = [2, 3, 4]; $commonValue = array_intersect($array1, $array2); //$commonValue = 2 // If you have X number of arrays you can do: ...
確定! 回上一頁