PHP » PYTHON |
login |
register |
about
|
array_uintersect_uassoc(PHP 5) array_uintersect_uassoc — Computes 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 $ ...
], callback $data_compare_func
, callback $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 ValuesReturns an array containing all the values of array1 that are present in all the arguments. Examples
Example #1 array_uintersect_uassoc() example
<?php The above example will output: Array ( [a] => green [b] => brown )
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|