array_intersect_uassoc
reactphp/promise
Supported Versions: PHP 5, PHP 7, PHP 8
Computes the intersection of arrays with additional index check, compares indexes by a callback function
<?php array_intersect_uassoc
(array
$array
, array ...
$arrays
, callable
$key_compare_func
): array