]> granicus.if.org Git - php/commitdiff
fix test - class Date has been renamed
authorAntony Dovgal <tony2001@php.net>
Mon, 7 Aug 2006 21:06:21 +0000 (21:06 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 7 Aug 2006 21:06:21 +0000 (21:06 +0000)
the test still fails, though...

ext/date/tests/date_create-3.phpt

index 0874f03cf933ff3f2be2b4e10f9b396d9a30ca45..07bfa7e6e69745b6f74aa942c2e90f8d93229758 100644 (file)
@@ -5,8 +5,8 @@ date_create() function [3]
 --FILE--
 <?php
 date_default_timezone_set("GMT");
-echo date_format(date_create("Dec31 2005 +0100"), date::ISO8601), "\n";
-echo date(date::ISO8601, strtotime("Dec31 2005 +0100")), "\n";
+echo date_format(date_create("Dec31 2005 +0100"), DateTime::ISO8601), "\n";
+echo date(DateTime::ISO8601, strtotime("Dec31 2005 +0100")), "\n";
 ?>
 --EXPECT--
 2005-12-31T00:00:00+0100