1--TEST--
2array_diff_uassoc(): Basic test
3--FILE--
4<?php
5/*
6* array array_diff_uassoc ( array $array1, array $array2 [, array $..., callback $key_compare_func] )
7* Function is implemented in ext/standard/array.c
8*/
9function key_compare_func($a, $b) {
10    if ($a === $b) {
11        return 0;
12    }
13    return ($a > $b) ? 1 : -1;
14}
15$array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red");
16$array2 = array("a" => "green", "yellow", "red");
17$result = array_diff_uassoc($array1, $array2, "key_compare_func");
18var_dump($result);
19?>
20--EXPECT--
21array(3) {
22  ["b"]=>
23  string(5) "brown"
24  ["c"]=>
25  string(4) "blue"
26  [0]=>
27  string(3) "red"
28}