Test: /ext/date/tests/bug55397.phpt - Version 7.4.0-dev        

Bug #55397 comparsion of incomplete DateTime causes SIGSEGV
Submitted: 2011-08-11 10:01:44 Modified: 2011-08-14 16:13:54
From: ladislav Assigned: derick
Status: Closed Package: Date/time related
PHP Version: 5.3.7RC4 OS: Linux

There are 2 different diffs reported by users for this test.

Count Diff
4 (67%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- Fatal error: Uncaught Error: Invalid serialization data for DateTime object in %sbug55397.php:%d
002- Stack trace:
003- #0 [internal function]: DateTime->__wakeup()
004- #1 %sbug55397.php(%d): unserialize('O:8:"DateTime":...')
005- #2 {main}
006- thrown in %sbug55397.php on line %d
2 (33%)
004+ #1 %s/bug55397.php(3): unserialize()
004- #1 %sbug55397.php(%d): unserialize('O:8:"DateTime":...')