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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
002- %unicode|string%(18) "%r\0%rMyClass%r\0%rpri_value"
003- int(10)
004- int(1)
003+ Fatal error: Uncaught TypeError: Argument 1 passed to array_walk() must be of the type array, object given in %s/array_walk_object1.php:45
004+ Stack trace:
005+ #0 %s/array_walk_object1.php(45): array_walk(Object(MyClass), 'callback', 1)
006+ #1 {main}
007+ thrown in %s/array_walk_object1.php on line 45
006- %unicode|string%(9) "pub_value"
007- int(10)
008- int(1)
009-
010- %unicode|string%(12) "%r\0%r*%r\0%rpro_value"
011- int(10)
012- int(1)
013-
014- bool(true)
015- Done