Supported Versions: PHP 5, PHP 7, PHP 8
Computes the difference of arrays with additional index check, compares data and indexes by a callback function
<?php array_udiff_uassoc( array $array, array ...$arrays, callable $value_compare_func, callable $key_compare_func): array