Deprecated: ParentA implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/BEobu on line 10
Deprecated: ParentB implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/BEobu on line 25
string(295) "O:7:"Wrapper":2:{s:6:"parent";C:7:"ParentB":198:{a:2:{s:3:"foo";a:3:{i:0;O:5:"Child":1:{s:8:"property";s:3:"foo";}i:1;O:5:"Child":1:{s:8:"property";s:3:"foo";}i:2;O:5:"Child":1:{s:8:"property";s:3:"foo";}}s:6:"parent";s:20:"a:1:{i:0;s:3:"foo";}";}}s:8:"children";a:3:{i:0;r:7;i:1;r:9;i:2;r:11;}}"
Warning: unserialize(): Error at offset 293 of 295 bytes in /in/BEobu on line 78
bool(false)
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Deprecated: ParentA implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/BEobu on line 10
Deprecated: ParentB implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/BEobu on line 25
string(295) "O:7:"Wrapper":2:{s:6:"parent";C:7:"ParentB":198:{a:2:{s:3:"foo";a:3:{i:0;O:5:"Child":1:{s:8:"property";s:3:"foo";}i:1;O:5:"Child":1:{s:8:"property";s:3:"foo";}i:2;O:5:"Child":1:{s:8:"property";s:3:"foo";}}s:6:"parent";s:20:"a:1:{i:0;s:3:"foo";}";}}s:8:"children";a:3:{i:0;r:7;i:1;r:9;i:2;r:11;}}"
Notice: unserialize(): Error at offset 293 of 295 bytes in /in/BEobu on line 78
bool(false)
string(295) "O:7:"Wrapper":2:{s:6:"parent";C:7:"ParentB":198:{a:2:{s:3:"foo";a:3:{i:0;O:5:"Child":1:{s:8:"property";s:3:"foo";}i:1;O:5:"Child":1:{s:8:"property";s:3:"foo";}i:2;O:5:"Child":1:{s:8:"property";s:3:"foo";}}s:6:"parent";s:20:"a:1:{i:0;s:3:"foo";}";}}s:8:"children";a:3:{i:0;r:7;i:1;r:9;i:2;r:11;}}"
Notice: unserialize(): Error at offset 293 of 295 bytes in /in/BEobu on line 78
bool(false)