--TEST-- Bug #62852 (Unserialize invalid DateTime causes crash), variation 3 --INI-- date.timezone=GMT --FILE-- --EXPECTF-- Fatal error: Uncaught Error: Invalid serialization data for DateTime object in %sbug62852_var3.php:%d Stack trace: #0 %sbug62852_var3.php(%d): DateTime->__wakeup() #1 [internal function]: Foo->__wakeup() #2 %sbug62852_var3.php(%d): unserialize('O:3:"Foo":3:{s:...') #3 {main} thrown in %sbug62852_var3.php on line %d