]> granicus.if.org Git - php/commitdiff
Added test for bug #50680
authorIlia Alshanetsky <iliaa@php.net>
Thu, 14 Jan 2010 15:45:49 +0000 (15:45 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 14 Jan 2010 15:45:49 +0000 (15:45 +0000)
ext/date/tests/bug50680.phpt [new file with mode: 0644]

diff --git a/ext/date/tests/bug50680.phpt b/ext/date/tests/bug50680.phpt
new file mode 100644 (file)
index 0000000..99b1381
--- /dev/null
@@ -0,0 +1,9 @@
+--TEST--
+Bug #50680 ("eighth" quantifier is not understood)
+--INI--
+date.timezone=UTC
+--FILE--
+<?php
+var_dump(date("d", strtotime("March 1 eighth day 2009")));
+--EXPECT--
+string(2) "09"