mirror of
https://github.com/php/php-src.git
synced 2024-10-21 16:33:44 +00:00
12 lines
237 B
PHP
12 lines
237 B
PHP
--TEST--
|
|
Bug #35705 (strtotime() fails to parse soap date format without TZ)
|
|
--FILE--
|
|
<?php
|
|
date_default_timezone_set("UTC");
|
|
|
|
echo date(DATE_ISO8601, strtotime('2000-10-10T10:12:30.000')) . "\n";
|
|
|
|
?>
|
|
--EXPECT--
|
|
2000-10-10T10:12:30+0000
|