array_intersect_key

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

説明

array_intersect_key() returns an array containing all the entries of array1 which have keys that are present in all the arguments.

戻り値

Returns an associative array containing all the entries of array1 which have keys that are present in all arguments.