![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #53437 (Crash when using unserialized DatePeriod instance), variation 2 ! 3: --FILE-- ! 4: <?php ! 5: $s = 'O:10:"DatePeriod":0:{}'; ! 6: ! 7: $dp = unserialize($s); ! 8: ! 9: var_dump($dp); ! 10: ?> ! 11: ==DONE== ! 12: --EXPECTF-- ! 13: Fatal error: Invalid serialization data for DatePeriod object in %sbug53437_var1.php on line %d