array_intersect_uassoc
spatie/fork
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