array_diff_assoc

 array array_diff_assoc ( array $array1 , array $array2 [, array $... ] ) 

説明

Compares array1 against array2 and returns the difference. Unlike array_diff() the array keys are used in the comparison.

戻り値

Returns an array containing all the values from array1 that are not present in any of the other arrays.