PHP » PYTHON |
login |
register |
about
|
|
array_uintersect_assoc(PHP 5) array_uintersect_assoc — Computes the intersection of arrays with additional index check, compares data by a callback function Description
array array_uintersect_assoc
( array $array1
, array $array2
[, array $ ...
], callback $data_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 ValuesReturns an array containing all the values of array1 that are present in all the arguments. Examples
Example #1 array_uintersect_assoc() example
<?phpThe above example will output:
Array
(
[a] => green
)
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|