Test: /ext/date/tests/bug67118.phpt - Version 5.5.13-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 is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Parse error: syntax error, unexpected 'publi' (T_STRING), expecting function (T_FUNCTION) in %s/bug67118.php on line 4
001- Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (Funktionsansvarig rådgivning och juridik) at position 0 (F): The timezone could not be found in the database' in %sbug67118.php:%d
002- Stack trace:
003- #0 %sbug67118.php(%d): DateTime->__construct('Funktionsansvar...', Object(DateTimeZone))
004- #1 %sbug67118.php(%d): mydt->__construct('Funktionsansvar...', 'UTC')
005- #2 {main}
006- thrown in %sbug67118.php on line %d