PHP » PYTHON |
login |
register |
about
|
|
array_udiff(PHP 5) array_udiff — Computes the difference of arrays by using a callback function for data comparison DescriptionComputes the difference of arrays by using a callback function for data comparison. This is unlike array_diff() which uses an internal function for comparing the data. Parameters
Return ValuesReturns an array containing all the values of array1 that are not present in any of the other arguments. Examples
Example #1 array_udiff() example
<?phpThe above example will output:
Array
(
[0.5] => cr Object
(
[priv_member:private] => 12
)
[0] => cr Object
(
[priv_member:private] => 23
)
)
Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|