mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
10 lines
199 B
PHP
10 lines
199 B
PHP
--TEST--
|
|
Bug #21399 (strtotime() request for "YYYYMMDDhhmmss [ZZZ]")
|
|
--FILE--
|
|
<?php
|
|
putenv("TZ=GMT");
|
|
echo gmdate("Y-m-d H:i:s", strtotime("20050620091407 GMT"));
|
|
?>
|
|
--EXPECT--
|
|
2005-06-20 09:14:07
|