|
array_uintersectComputes the intersection of arrays, compares data by a callback function Description
array array_uintersect
( array
$array1
, array $array2
[, array $...
], callable $value_compare_func
)Computes the intersection of arrays, compares data by a callback function. Parameters
Return Values
Returns an array containing all the values of Examples
Example #1 array_uintersect example
<?phpThe above example will output:
Array
(
[a] => green
[b] => brown
[0] => red
)
See Also
|