|
array_diff_assocComputes the difference of arrays with additional index check Description
array array_diff_assoc(array
$array , array ...$arrays )
Compares Parameters
Return Values
Returns an array containing all the values from
Changelog
Examples
Example #1 array_diff_assoc example
In this example the
The above example will output: Array ( [b] => brown [c] => blue [0] => red )
Example #2 array_diff_assoc example
Two values from key => value pairs are
considered equal only if
The above example will output: Array ( [0] => 0 [1] => 1 ) Notes
See Also
|