array_udiff
spatie/once
Supported Versions: PHP 5, PHP 7, PHP 8
Computes the difference of arrays by using a callback function for data comparison
<?php array_udiff
(array
$array
, array ...
$arrays
, callable
$value_compare_func
): array