Deprecated: Return type of Foo::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/ND93C on line 7
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in /in/ND93C:17
Stack trace:
#0 [internal function]: DateTime->__unserialize(Array)
#1 /in/ND93C(17): unserialize('O:3:"Foo":3:{s:...')
#2 {main}
thrown in /in/ND93C on line 17
Process exited with code 255.
Output for 8.1.0 - 8.1.28
Deprecated: Return type of Foo::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/ND93C on line 7
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in /in/ND93C:10
Stack trace:
#0 /in/ND93C(10): DateTime->__wakeup()
#1 [internal function]: Foo->__wakeup()
#2 /in/ND93C(17): unserialize('O:3:"Foo":3:{s:...')
#3 {main}
thrown in /in/ND93C on line 10
Process exited with code 255.
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in /in/ND93C:10
Stack trace:
#0 /in/ND93C(10): DateTime->__wakeup()
#1 [internal function]: Foo->__wakeup()
#2 /in/ND93C(17): unserialize('O:3:"Foo":3:{s:...')
#3 {main}
thrown in /in/ND93C on line 10
Process exited with code 255.