1--TEST--
2Test array_diff_uassoc() function : usage variation - Passing integer indexed array
3--FILE--
4<?php
5echo "*** Testing array_diff_uassoc() : usage variation ***\n";
6
7// Initialise function arguments not being substituted (if any)
8$input_array = array(10 => 10, 12 => 12);
9
10$input_arrays = array(
11      'decimal indexed' => array(10 => 10, -17 => -17),
12      'octal indexed' => array( 012 => 10, -011 => -011,),
13      'hexa  indexed' => array(0xA => 10, -0x7 => -0x7 ),
14);
15
16foreach($input_arrays as $key =>$value) {
17      echo "\n--$key--\n";
18      var_dump( array_diff_uassoc($input_array, $value, "strcasecmp") );
19      var_dump( array_diff_uassoc($value, $input_array, "strcasecmp") );
20}
21
22?>
23--EXPECT--
24*** Testing array_diff_uassoc() : usage variation ***
25
26--decimal indexed--
27array(1) {
28  [12]=>
29  int(12)
30}
31array(1) {
32  [-17]=>
33  int(-17)
34}
35
36--octal indexed--
37array(1) {
38  [12]=>
39  int(12)
40}
41array(1) {
42  [-9]=>
43  int(-9)
44}
45
46--hexa  indexed--
47array(1) {
48  [12]=>
49  int(12)
50}
51array(1) {
52  [-7]=>
53  int(-7)
54}
55