array_diff_uassoc

 array array_diff_uassoc ( array $array1 , array $array2 [, array $... ], callback $key_compare_func ) 

説明

Compares array1 against array2 and returns the difference. Unlike array_diff() the array keys are used in the comparison. Unlike array_diff_assoc() an user supplied callback function is used for the indices comparison, not internal function.

戻り値

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