array_udiff_uassoc

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

説明

Computes the difference of arrays with additional index check, compares data and indexes by a callback function. Note that the keys are used in the comparison unlike array_diff() and array_udiff().

戻り値

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