array_intersect_uassoc
pestphp/pest
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