array_intersect_ukey

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

説明

array_intersect_ukey() returns an array containing all the values of array1 which have matching keys that are present in all the arguments. This comparison is done by a user supplied callback function. It must return an integer less than, equal to, or greater than zero if the first key is considered to be respectively less than, equal to, or greater than the second.

戻り値

Returns the values of array1 whose keys exist in all the arguments.