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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
013+ Fatal error: Uncaught TypeError: Argument 1 passed to array_map() must be callable, array given in %s/array_map_object3.php:51
014+ Stack trace:
015+ #0 %s/array_map_object3.php(51): array_map(Array, Array)
016+ #1 {main}
017+ thrown in %s/array_map_object3.php on line 51
013- Warning: array_map() expects parameter 1 to be a valid callback, class 'ParentClass' does not have a method 'staticChild' in %s on line %d
014- NULL
015- -- accessing parent method using child class object --
016- array(3) {
017- [0]=>
018- int(1)
019- [1]=>
020- int(5)
021- [2]=>
022- int(7)
023- }
024- -- accessing child method using parent class object --
025-
026- Warning: array_map() expects parameter 1 to be a valid callback, class 'ParentClass' does not have a method 'staticChild' in %s on line %d
027- NULL
028- Done