Test: /ext/standard/tests/serialize/sleep_uninitialized_typed_prop.phpt - Version 7.4.5    

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
001+ Fatal error: Uncaught Error: Typed property Test::$x must not be accessed before initialization (in __sleep) in %s/sleep_uninitialized_typed_prop.php:18 002+ Stack trace: 003+ #0 %s/sleep_uninitialized_typed_prop.php(18): serialize(Object(Test)) 004+ #1 {main} 005+ thrown in %s/sleep_uninitialized_typed_prop.php on line 18 001- string(15) "O:4:"Test":0:{}" 002- bool(true) 003- bool(true) 004- bool(true) 005- bool(true) 006- object(Test)#1 (3) { 007- ["x"]=> 008- int(1) 009- ["y":protected]=> 010- int(2) 011- ["z":"Test":private]=> 012- int(3) 013- }