mirror of
https://github.com/php/php-src.git
synced 2024-09-24 03:17:26 +00:00
eab2cbf494
no explicit timezone abbreviation (CEST) or timezone identifier (Europe/Amsterdam) is set.
11 lines
294 B
PHP
11 lines
294 B
PHP
--TEST--
|
|
Bug #26198 (strtotime handling of "M Y" and "Y M" format)
|
|
--FILE--
|
|
<?php
|
|
echo gmdate("F Y (Y-m-d H:i:s T)\n", strtotime("Oct 2001"));
|
|
echo gmdate("M Y (Y-m-d H:i:s T)\n", strtotime("2001 Oct"));
|
|
?>
|
|
--EXPECT--
|
|
October 2001 (2001-10-01 00:00:00 GMT)
|
|
Oct 2001 (2001-10-01 00:00:00 GMT)
|