Edit report at https://bugs.php.net/bug.php?id=55397&edit=1
ID: 55397 Updated by: larue...@php.net Reported by: ladislav at marek dot su Summary: comparsion of incomplete DateTime causes SIGSEGV -Status: Open +Status: Analyzed Type: Bug Package: Date/time related Operating System: Linux PHP Version: 5.3.7RC4 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-08-11 10:01:44] ladislav at marek dot su Description: ------------ PHP ends with SIGSEGV when comparing incompletely unserialized DateTime. Test script: --------------- date_default_timezone_set('Europe/Prague'); var_dump(unserialize('O:8:"DateTime":0:{}') == new DateTime); Expected result: ---------------- bool(false) Actual result: -------------- SIGSEGV ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55397&edit=1