php-src/ext/date/tests/bug21399.phpt
2009-05-12 19:46:58 +00:00

11 lines
206 B
PHP

--TEST--
Bug #21399 (strtotime() request for "YYYYMMDDhhmmss [ZZZ]")
--INI--
date.timezone=GMT
--FILE--
<?php
echo gmdate("Y-m-d H:i:s", strtotime("20050620091407 GMT"));
?>
--EXPECT--
2005-06-20 09:14:07