![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #55397 (comparsion of incomplete DateTime causes SIGSEGV) ! 3: --INI-- ! 4: --FILE-- ! 5: <?php ! 6: date_default_timezone_set('Europe/Prague'); ! 7: var_dump(unserialize('O:8:"DateTime":0:{}') == new DateTime); ! 8: ?> ! 9: --EXPECTF-- ! 10: Fatal error: Invalid serialization data for DateTime object in %sbug55397.php on line %d