Test: /ext/standard/tests/array/array_diff_key.phpt - Version 5.6.0-dev    

There is 1 diff reported by users for this test.

Count Diff
3 (100%)
002+
003+ Warning: array_diff_key() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 18
004+ NULL
012- array(4) {
015+ ------ Test 2 --------
016+
017+ Warning: array_diff_key() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 22
018+ NULL
019+ array(3) {
015- [6]=>
016- int(12)
022- ------ Test 2 --------
023- array(3) {
027+ ------ Test 3 --------
028+
029+ Warning: array_diff_key() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 26
030+ NULL
031+ array(6) {
034+ [6]=>
035+ int(12)
036+ [2]=>
037+ int(4)
039- ------ Test 3 --------
040- array(6) {
042+ [-2500]=>
043+ &int(-5000)
045+ ------ Test 4 --------
046+
047+ Warning: array_diff_key() expects parameter 3 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 30
048+ NULL
045- [2]=>
046- int(4)
051- [-2500]=>
052- &int(-5000)
054- array(6) {
057+ ------ Test 5 --------
058+
059+ Warning: array_diff_key() expects parameter 3 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 34
060+ NULL
061+ array(4) {
057- [6]=>
058- int(12)
059- [2]=>
060- int(4)
065- [-2500]=>
066- &int(-5000)
068- ------ Test 4 --------
070- [1]=>
071- int(2)
072- [15]=>
073- int(30)
074- [1200]=>
075- int(2400)
071+ ------ Test 6 --------
072+
073+ Warning: array_diff_key() expects parameter 4 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 39
074+ NULL
075+ array(3) {
077- array(3) {
078- [1]=>
079- int(2)
080- [15]=>
081- int(30)
082- [1200]=>
083- int(2400)
083+ ------ Test 7 --------
084+
085+ Warning: array_diff_key() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 44
086+ NULL
085- ------ Test 5 --------
086- array(4) {
087- [1]=>
088- int(2)
089- [6]=>
090- int(12)
091- [15]=>
092- int(30)
093- [1200]=>
094- int(2400)
088+ [7]=>
089+ int(14)
090+ [11]=>
091+ int(22)
092+ [1100]=>
093+ int(2200)
095+ ------ Test 8 --------
096+
097+ Warning: array_diff_key() expects parameter 2 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 48
098+ NULL
099+ array(6) {
100+ [0]=>
101+ int(0)
102+ [7]=>
103+ int(14)
104+ [2]=>
105+ int(4)
106+ [11]=>
107+ int(22)
108+ [1100]=>
109+ int(2200)
110+ [-2500]=>
111+ &int(-5000)
113+ ------ Test 9 --------
114+
115+ Warning: array_diff_key() expects parameter 3 to be a valid callback, array must have exactly two members in %s/array_diff_key.php on line 53
116+ NULL
117+ array(3) {
118+ [7]=>
119+ int(14)
120+ [11]=>
121+ int(22)
122+ [1100]=>
123+ int(2200)
096- array(4) {
097- [1]=>
098- int(2)
099- [6]=>
100- int(12)
101- [15]=>
102- int(30)
103- [1200]=>
104- int(2400)
105- }
106- ------ Test 6 --------
107- array(3) {
108- [1]=>
109- int(2)
110- [15]=>
111- int(30)
112- [1200]=>
113- int(2400)
114- }
115- array(3) {
116- [1]=>
117- int(2)
118- [15]=>
119- int(30)
120- [1200]=>
121- int(2400)
122- }
123- ------ Test 7 --------
124- array(3) {
125- [7]=>
126- int(14)
127- [11]=>
128- int(22)
129- [1100]=>
130- int(2200)
131- }
132- array(3) {
133- [7]=>
134- int(14)
135- [11]=>
136- int(22)
137- [1100]=>
138- int(2200)
139- }
140- ------ Test 8 --------
141- array(6) {
142- [0]=>
143- int(0)
144- [7]=>
145- int(14)
146- [2]=>
147- int(4)
148- [11]=>
149- int(22)
150- [1100]=>
151- int(2200)
152- [-2500]=>
153- &int(-5000)
154- }
155- array(6) {
156- [0]=>
157- int(0)
158- [7]=>
159- int(14)
160- [2]=>
161- int(4)
162- [11]=>
163- int(22)
164- [1100]=>
165- int(2200)
166- [-2500]=>
167- &int(-5000)
168- }
169- ------ Test 9 --------
170- array(3) {
171- [7]=>
172- int(14)
173- [11]=>
174- int(22)
175- [1100]=>
176- int(2200)
177- }
178- array(3) {
179- [7]=>
180- int(14)
181- [11]=>
182- int(22)
183- [1100]=>
184- int(2200)
185- }