summaryrefslogtreecommitdiff
path: root/ext/standard/tests/time/bug26198.phpt
blob: 318108da78468237c5eca8ed6d5eec3cf1951656 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #26198 (strtotime handling of "M Y" and "Y M" format)
--FILE--
<?php
	echo date("F Y\n", strtotime("Oct 2001"));
	echo date("M Y\n", strtotime("2001 Oct"));
?>
--EXPECT--
October 2001
Oct 2001