Deprecated: Foo 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/oAhZZ on line 3
Deprecated: Creation of dynamic property Bar::$bar1 is deprecated in /in/oAhZZ on line 13
Deprecated: Creation of dynamic property Bar::$bar1 is deprecated in /in/oAhZZ on line 13
Deprecated: Creation of dynamic property Bar::$bar1 is deprecated in /in/oAhZZ on line 13
Array
(
[0] => Array
(
[instance] => Foo Object
(
[test] => foo1
)
)
[1] => Array
(
[instance] => Foo Object
(
[test] => foo2
)
)
[2] => Array
(
[instance] => Foo Object
(
[test] => foo3
)
[parent] => Bar Object
(
)
)
)
Output for 8.1.0 - 8.1.27
Deprecated: Foo 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/oAhZZ on line 3
Array
(
[0] => Array
(
[instance] => Foo Object
(
[test] => foo1
)
)
[1] => Array
(
[instance] => Foo Object
(
[test] => foo2
)
)
[2] => Array
(
[instance] => Foo Object
(
[test] => foo3
)
[parent] => Bar Object
(
)
)
)