xref: /PHP-5.3/ext/date/tests/bug26198.phpt (revision bf23d8d2)
1--TEST--
2Bug #26198 (strtotime handling of "M Y" and "Y M" format)
3--FILE--
4<?php
5	date_default_timezone_set("GMT");
6	echo gmdate("F Y (Y-m-d H:i:s T)\n", strtotime("Oct 2001"));
7	echo gmdate("M Y (Y-m-d H:i:s T)\n", strtotime("2001 Oct"));
8?>
9--EXPECT--
10October 2001 (2001-10-01 00:00:00 GMT)
11Oct 2001 (2001-10-01 00:00:00 GMT)
12