Test: /ext/standard/tests/array/array_walk_objects.phpt - Version 7.1.16-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Fatal error: Uncaught TypeError: Argument 1 passed to array_walk() must be of the type array, object given in %s/array_walk_objects.php:16
002+ Stack trace:
003+ #0 %s/array_walk_objects.php(16): array_walk(Object(stdClass), 'walk')
004+ #1 {main}
005+ thrown in %s/array_walk_objects.php on line 16
001- %unicode|string%(3) "foo"
002- %unicode|string%(3) "foo"
003- %unicode|string%(3) "bar"
004- %unicode|string%(3) "bar"
005- %unicode|string%(13) "%r\0%rtest%r\0%rvar_pri"
006- %unicode|string%(12) "test_private"
007- %unicode|string%(10) "%r\0%r*%r\0%rvar_pro"
008- %unicode|string%(14) "test_protected"
009- %unicode|string%(7) "var_pub"
010- %unicode|string%(11) "test_public"
011-
012- Warning: array_walk() expects parameter 1 to be array, %unicode_string_optional% given in %s on line %d
013- Done