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