array_intersect_assoc

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

説明

array_intersect_assoc() returns an array containing all the values of array1 that are present in all the arguments. Note that the keys are used in the comparison unlike in array_intersect().

戻り値

Returns an associative array containing all the values in array1 that are present in all of the arguments.