$array1 = array(1,2,3,4,5);
$array2 = array(2,3);
$array3 = array(5);
$diff = array_diff($array1, $array2, $array3);
print_r($diff);
結果 Array ( [0] => 1 [3] => 4 )
$array1 = array(1,2,3,4,5);
$array2 = array(2,3);
$array3 = array(5);
$diff = array_diff($array1, $array2, $array3);
print_r($diff);
結果 Array ( [0] => 1 [3] => 4 )