array_uintersect
spatie/once
Supported Versions: PHP 5, PHP 7, PHP 8
Computes the intersection of arrays, compares data by a callback function
<?php array_uintersect
(array
$array
, array ...
$arrays
, callable
$value_compare_func
): array