array_uintersect

PHP 5, PHP 7, PHP 8
array_uintersect - Computes the intersection of arrays, compares data by a callback function
Manual
Code Examples

Example #1 array_uintersect example

Result: Array ( [a] => green [b] => brown [0] => red )
PHP Version: