Test: /ext/date/tests/bug67118.phpt - Version 7.0.0-dev        

Bug #67118 DateTime constructor crash with invalid data
Submitted: 2014-04-23 14:51:15 Modified: 2014-08-25 00:21:18
From: per Assigned: ab
Status: Closed Package: Reproducible crash
PHP Version: 5.5.11 OS: Windows 2008 R2

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

Count Diff
965 (97%)
001+ Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %s/bug67118.php on line 12
001- Fatal error: Call to a member function format() on null in %sbug67118.php on line %d
002+ Bad date
11 (1%)
10 (1%)
001+ Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %s/bug67118.php on line 12
001- Catchable fatal error: Call to a member function format() on null in %sbug67118.php on line %d
002+ Bad date
4 (0%)
001+ Segmentation fault
002+
001- Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %s on line %d
002- Bad date
003+ Termsig=11
2 (0%)
001+ Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %s/bug67118.php on line 12
001- Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %s/bug67118.php on line 12
1 (0%)
001+ Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %s/bug67118.php on