Test: /ext/standard/tests/array/array_map_variation2.phpt - Version 7.0.16-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
108+
109+ Fatal error: Uncaught TypeError: Argument 1 passed to array_map() must be callable, null given in %s/array_map_variation2.php:16
110+ Stack trace:
111+ #0 %s/array_map_variation2.php(16): array_map(NULL, Array)
112+ #1 {main}
113+ thrown in %s/array_map_variation2.php on line 16
108- array(4) {
109- ["k1"]=>
110- &string(2) "v1"
111- ["k2"]=>
112- string(2) "v2"
113- [0]=>
114- &string(2) "v1"
115- [1]=>
116- &array(4) {
117- ["k1"]=>
118- &string(2) "v1"
119- ["k2"]=>
120- string(2) "v2"
121- [0]=>
122- &string(2) "v1"
123- [1]=>
124- *RECURSION*
125- }
126- }
127- array(4) {
128- [0]=>
129- array(2) {
130- [0]=>
131- &string(2) "v1"
132- [1]=>
133- &string(2) "v1"
134- }
135- [1]=>
136- array(2) {
137- [0]=>
138- string(2) "v2"
139- [1]=>
140- string(2) "v2"
141- }
142- [2]=>
143- array(2) {
144- [0]=>
145- &string(2) "v1"
146- [1]=>
147- &string(2) "v1"
148- }
149- [3]=>
150- array(2) {
151- [0]=>
152- &array(4) {
153- ["k1"]=>
154- &string(2) "v1"
155- ["k2"]=>
156- string(2) "v2"
157- [0]=>
158- &string(2) "v1"
159- [1]=>
160- *RECURSION*
161- }
162- [1]=>
163- &array(4) {
164- ["k1"]=>
165- &string(2) "v1"
166- ["k2"]=>
167- string(2) "v2"
168- [0]=>
169- &string(2) "v1"
170- [1]=>
171- *RECURSION*
172- }
173- }
174- }
175- Done