Test: /ext/standard/tests/array/array_map_object2.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 1 passed to array_map() must be callable, array given in %s/array_map_object2.php:26
005+ Stack trace:
006+ #0 %s/array_map_object2.php(26): array_map(Array, Array)
007+ #1 {main}
008+ thrown in %s/array_map_object2.php on line 26
004- Warning: array_map() expects parameter 1 to be a valid callback, class 'non-existent' not found in %s on line %d
005- NULL
006- -- with existent class and non-existent method --
007-
008- Warning: array_map() expects parameter 1 to be a valid callback, class 'SimpleClass' does not have a method 'non-existent' in %s on line %d
009- NULL
010- Done