Test: /ext/date/tests/bug54851.phpt - Version 5.4.0RC3-dev        

Bug #54851 DateTime::createFromFormat, $format=='D' or $format=='l' Always Returns Today.
Submitted: 2011-05-19 00:51:31 Modified: 2011-11-26 16:44:08
From: phpbugs Assigned: derick
Status: Closed Package: Date/time related
PHP Version: trunk-SVN-2011-05-18 (SVN) OS: Mac OS X

There is 1 diff reported by users for this test.

Count Diff
34 (100%)
002+
003+ Fatal error: Call to a member function format() on a non-object in %s/bug54851.php on line 5
002- Tue, %d %s %d 00:00:00 +0000
003- bool(true)
004- Fri, 20 May 2011 00:00:00 +0000
005- Fri, 20 May 2011 00:00:00 +0000
006- bool(true)
007- Tue, %d %s %d 00:00:00 +0000
008- Tue, %d %s %d 00:00:00 +0000
009- bool(true)
010- Fri, 25 Nov 2011 00:00:00 +0000
011- Fri, 25 Nov 2011 00:00:00 +0000
012- bool(true)
013- Sat, 19 Nov 2011 00:00:00 +0000
014- Sat, 19 Nov 2011 00:00:00 +0000
015- bool(true)