array_intersect_ukey

array_intersect_ukey

(PHP 5 >= 5.1.0, PHP 7)

array_intersect_ukeyComputes the intersection of arrays using a callback function on the keys for comparison

Description

array array_intersect_ukey ( array $array1 , array $array2 [, array $... ], callable $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.