1--TEST--
2array_diff_ukey() : Basic test.
3--FILE--
4<?php
5/*
6* Function is implemented in ext/standard/array.c
7*/
8function key_compare_func($key1, $key2) {
9    if ($key1 == $key2) return 0;
10    else if ($key1 > $key2) return 1;
11    else return -1;
12}
13$array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
14$array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
15var_dump(array_diff_ukey($array1, $array2, 'key_compare_func'));
16?>
17--EXPECT--
18array(2) {
19  ["red"]=>
20  int(2)
21  ["purple"]=>
22  int(4)
23}
24