]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
authorSVN Migration <svn@php.net>
Wed, 12 Nov 2003 02:55:04 +0000 (02:55 +0000)
committerSVN Migration <svn@php.net>
Wed, 12 Nov 2003 02:55:04 +0000 (02:55 +0000)
ext/standard/tests/time/bug26198.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/time/bug26198.phpt b/ext/standard/tests/time/bug26198.phpt
new file mode 100644 (file)
index 0000000..318108d
--- /dev/null
@@ -0,0 +1,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