PHP » PYTHON |
login |
register |
about
|
|
array_uintersect(PHP 5) array_uintersect — Computes the intersection of arrays, compares data by a callback function Description
array array_uintersect
( array $array1
, array $array2
[, array $ ...
], callback $data_compare_func
)
Computes the intersection of arrays, compares data by 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() example
<?phpThe above example will output:
Array
(
[a] => green
[b] => brown
[0] => red
)
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|