1--TEST--
2basic array_diff_assoc test
3--FILE--
4<?php
5$array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red", "");
6$array2 = array("a" => "green", "yellow", "red", TRUE);
7$array3 = array("red", "a"=>"brown", "");
8$result[] = array_diff_assoc($array1, $array2);
9$result[] = array_diff_assoc($array1, $array3);
10$result[] = array_diff_assoc($array2, $array3);
11$result[] = array_diff_assoc($array1, $array2, $array3);
12print_r($result)
13?>
14--EXPECT--
15Array
16(
17    [0] => Array
18        (
19            [b] => brown
20            [c] => blue
21            [0] => red
22            [1] =>
23        )
24
25    [1] => Array
26        (
27            [a] => green
28            [b] => brown
29            [c] => blue
30        )
31
32    [2] => Array
33        (
34            [a] => green
35            [0] => yellow
36            [1] => red
37            [2] => 1
38        )
39
40    [3] => Array
41        (
42            [b] => brown
43            [c] => blue
44        )
45
46)
47