![]() ![]() | ![]() |
1.1 misho 1: --TEST--
1.1.1.2 ! misho 2: Bug #55397 (comparison of incomplete DateTime causes SIGSEGV)
1.1 misho 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