|
array_udiff_uassocComputes the difference of arrays with additional index check, compares data and indexes by a callback function Description
array array_udiff_uassoc(
array $array,array ...$arrays,callable $value_compare_func,callable $key_compare_func) Computes the difference of arrays with additional index check, compares data and indexes by a callback function. Note that the keys are used in the comparison unlike array_diff and array_udiff. Parameters
Return Values
Returns an array containing all the values from
Examples
Example #1 array_udiff_uassoc example The above example will output:
Array
(
[0.1] => cr Object
(
[priv_member:cr:private] => 9
)
[0.5] => cr Object
(
[priv_member:cr:private] => 12
)
[0] => cr Object
(
[priv_member:cr:private] => 23
)
)
In our example above you see the Notes
See Also
|