mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
81d9c330f7
- 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.
15 lines
234 B
PHP
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)
|