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/O8mjL on line 7
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in /in/O8mjL:17
Stack trace:
#0 [internal function]: DateTime->__unserialize(Array)
#1 /in/O8mjL(17): unserialize('O:3:"Foo":3:{s:...')
#2 {main}
thrown in /in/O8mjL 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/O8mjL on line 7
object(Foo)#1 (3) {
["date"]=>
string(20) "20007-06-07 03:51:49"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}