array_uintersect_assoc

PHP 5, PHP 7, PHP 8
array_uintersect_assoc - Computes the intersection of arrays with additional index check, compares data by a callback function
Manual
Code Examples

Example #1 array_uintersect_assoc example

Result: Array ( [a] => green )
PHP Version: