mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
12 lines
231 B
PHP
12 lines
231 B
PHP
--TEST--
|
|
Bug #35887 (wddx_deserialize not parsing dateTime fields properly)
|
|
--FILE--
|
|
<?php
|
|
date_default_timezone_set("UTC");
|
|
|
|
echo date(DATE_ISO8601, strtotime('2006-1-6T0:0:0-8:0')) . "\n";
|
|
|
|
?>
|
|
--EXPECT--
|
|
2006-01-06T08:00:00+0000
|