import zend standard tests
[hiphop-php.git] / hphp / test / zend / good / ext-standard-array / array_merge_recursive_variation10.php.expectf
blob53de04af27df10461d2c7a503fd6bf0c8fa40007
1 *** Testing array_merge_recursive() : two dimensional array for $arr1 argument ***
2 -- Passing the entire 2-d array --
3 -- With default argument --
4 array(4) {
5   [0]=>
6   array(4) {
7     [0]=>
8     int(1)
9     [1]=>
10     int(2)
11     [2]=>
12     int(3)
13     [3]=>
14     int(1)
15   }
16   ["array"]=>
17   array(4) {
18     [0]=>
19     string(5) "hello"
20     [1]=>
21     string(5) "world"
22     ["str1"]=>
23     string(5) "hello"
24     ["str2"]=>
25     string(5) "world"
26   }
27   [1]=>
28   array(4) {
29     [1]=>
30     string(3) "one"
31     [2]=>
32     string(3) "two"
33     [3]=>
34     string(3) "one"
35     [4]=>
36     string(3) "two"
37   }
38   [2]=>
39   array(4) {
40     [0]=>
41     int(1)
42     [1]=>
43     int(2)
44     [2]=>
45     int(3)
46     [3]=>
47     int(1)
48   }
50 -- With more arguments --
51 array(6) {
52   [0]=>
53   array(4) {
54     [0]=>
55     int(1)
56     [1]=>
57     int(2)
58     [2]=>
59     int(3)
60     [3]=>
61     int(1)
62   }
63   ["array"]=>
64   array(6) {
65     [0]=>
66     string(5) "hello"
67     [1]=>
68     string(5) "world"
69     ["str1"]=>
70     string(5) "hello"
71     ["str2"]=>
72     string(5) "world"
73     [2]=>
74     string(5) "hello"
75     [3]=>
76     string(5) "world"
77   }
78   [1]=>
79   array(4) {
80     [1]=>
81     string(3) "one"
82     [2]=>
83     string(3) "two"
84     [3]=>
85     string(3) "one"
86     [4]=>
87     string(3) "two"
88   }
89   [2]=>
90   array(4) {
91     [0]=>
92     int(1)
93     [1]=>
94     int(2)
95     [2]=>
96     int(3)
97     [3]=>
98     int(1)
99   }
100   [3]=>
101   int(1)
102   [4]=>
103   string(5) "hello"
105 -- Passing the sub-array --
106 -- With default argument --
107 array(4) {
108   [0]=>
109   string(5) "hello"
110   [1]=>
111   string(5) "world"
112   ["str1"]=>
113   string(5) "hello"
114   ["str2"]=>
115   string(5) "world"
117 -- With more arguments --
118 array(6) {
119   [0]=>
120   string(5) "hello"
121   [1]=>
122   string(5) "world"
123   ["str1"]=>
124   string(5) "hello"
125   ["str2"]=>
126   string(5) "world"
127   [2]=>
128   string(5) "hello"
129   [3]=>
130   string(5) "world"
132 Done