Return Values

Returns an array containing all the entries from
array1 that are not present in any of the other arrays.

Examples

Example #1 array_diff_uassoc() example

The "a" => "green"
pair is present in both arrays and thus it is not in the output from the
function. Unlike this, the pair 0 => "red"
is in the output because in the second argument "red"
has key which is 1.