php-src/ext/date/tests/bug35885.phpt
Derick Rethans 81d9c330f7 - Fixed bug #35885 (strtotime("NOW") no longer works).
- Fixed bug #35887 (wddx_deserialize not parsing dateTime fields properly).
#- Not added to NEWS as this will be merged to PHP_5_1 when Ilia looks at it.
2006-01-04 15:56:58 +00:00

15 lines
234 B
PHP

--TEST--
Bug #35885 (strtotime("NOW") no longer works)
--FILE--
<?php
date_default_timezone_set("UTC");
$ts = date(DATE_ISO8601, strtotime('NOW'));
$ts2 = date(DATE_ISO8601, time());
var_dump($ts == $ts2);
?>
--EXPECT--
bool(true)