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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
004+ Fatal error: Uncaught TypeError: Argument 2 passed to array_walk() must be callable, integer given in %s/array_walk_variation2.php:81
005+ Stack trace:
006+ #0 %s/array_walk_variation2.php(81): array_walk(Array, 0)
007+ #1 {main}
008+ thrown in %s/array_walk_variation2.php on line 81
004- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
005- NULL
006-
007- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
008- NULL
009- -- Iteration 2 --
010-
011- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
012- NULL
013-
014- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
015- NULL
016- -- Iteration 3 --
017-
018- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
019- NULL
020-
021- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
022- NULL
023- -- Iteration 4 --
024-
025- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
026- NULL
027-
028- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
029- NULL
030- -- Iteration 5 --
031-
032- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
033- NULL
034-
035- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
036- NULL
037- -- Iteration 6 --
038-
039- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
040- NULL
041-
042- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
043- NULL
044- -- Iteration 7 --
045-
046- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
047- NULL
048-
049- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
050- NULL
051- -- Iteration 8 --
052-
053- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
054- NULL
055-
056- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
057- NULL
058- -- Iteration 9 --
059-
060- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
061- NULL
062-
063- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
064- NULL
065- -- Iteration 10 --
066-
067- Warning: array_walk() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
068- NULL
069-
070- Warning: array_walk() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
071- NULL
072- -- Iteration 11 --
073-
074- Warning: array_walk() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
075- NULL
076-
077- Warning: array_walk() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
078- NULL
079- -- Iteration 12 --
080-
081- Warning: array_walk() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
082- NULL
083-
084- Warning: array_walk() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
085- NULL
086- -- Iteration 13 --
087-
088- Warning: array_walk() expects parameter 2 to be a valid callback, first array member is not a valid class name or object in %s on line %d
089- NULL
090-
091- Warning: array_walk() expects parameter 2 to be a valid callback, first array member is not a valid class name or object in %s on line %d
092- NULL
093- -- Iteration 14 --
094-
095- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
096- NULL
097-
098- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
099- NULL
100- -- Iteration 15 --
101-
102- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
103- NULL
104-
105- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
106- NULL
107- -- Iteration 16 --
108-
109- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
110- NULL
111-
112- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
113- NULL
114- -- Iteration 17 --
115-
116- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
117- NULL
118-
119- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
120- NULL
121- -- Iteration 18 --
122-
123- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
124- NULL
125-
126- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
127- NULL
128- -- Iteration 19 --
129-
130- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
131- NULL
132-
133- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
134- NULL
135- -- Iteration 20 --
136-
137- Warning: array_walk() expects parameter 2 to be a valid callback, function '' not found or invalid function name in %s on line %d
138- NULL
139-
140- Warning: array_walk() expects parameter 2 to be a valid callback, function '' not found or invalid function name in %s on line %d
141- NULL
142- -- Iteration 21 --
143-
144- Warning: array_walk() expects parameter 2 to be a valid callback, function '' not found or invalid function name in %s on line %d
145- NULL
146-
147- Warning: array_walk() expects parameter 2 to be a valid callback, function '' not found or invalid function name in %s on line %d
148- NULL
149- -- Iteration 22 --
150-
151- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
152- NULL
153-
154- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
155- NULL
156- -- Iteration 23 --
157-
158- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
159- NULL
160-
161- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
162- NULL
163- -- Iteration 24 --
164-
165- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
166- NULL
167-
168- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
169- NULL
170- -- Iteration 25 --
171-
172- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
173- NULL
174-
175- Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
176- NULL
177- Done