array_intersect_ukey
reactphp/promise
Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Computes the intersection of arrays using a callback function on the keys for comparison
<?php array_intersect_ukey
(array
$array
, array ...
$arrays
, callable
$key_compare_func
): array