mirror of
https://github.com/php/php-src.git
synced 2024-09-24 19:37:26 +00:00
fix test - class Date has been renamed
the test still fails, though...
This commit is contained in:
parent
dd76c0c737
commit
d0c9c06f5a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user