1--TEST--
2Fix UMR in array_user_key_compare (MOPB24)
3--FILE--
4<?php
5$arr = array("A" => 1, "B" => 1);
6
7function array_compare(&$key1, &$key2)
8  {
9    $GLOBALS['a'] = &$key2;
10    unset($key2);
11    return 1;
12  }
13
14uksort($arr, "array_compare");
15var_dump($a);
16
17?>
18--EXPECT--
19string(1) "B"
20