|
array_uintersect_uassocComputes the intersection of arrays with additional index check, compares data and indexes by a callback functions Description
array array_uintersect_uassoc
( array
$array1
, array $array2
[, array $...
], callable $value_compare_func
, callable $key_compare_func
)Computes the intersection of arrays with additional index check, compares data and indexes by a callback functions Note that the keys are used in the comparison unlike in array_uintersect. Both the data and the indexes are compared by using separate callback functions. Parameters
Return Values
Returns an array containing all the values of
Examples
Example #1 array_uintersect_uassoc example
<?phpThe above example will output:
Array
(
[a] => green
[b] => brown
)
See Also
|