summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug50680.phpt
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2010-01-14 15:45:49 +0000
committerIlia Alshanetsky <iliaa@php.net>2010-01-14 15:45:49 +0000
commitfae24f929868f69f61c55efbc1559c01c6d7f7b7 (patch)
treeaeb579b704d31b66738279ad0248415190fbbdc6 /ext/date/tests/bug50680.phpt
parentbeaa4d04304194f6063110f3b09b42ac2b83bc25 (diff)
downloadphp-git-fae24f929868f69f61c55efbc1559c01c6d7f7b7.tar.gz
Added test for bug #50680
Diffstat (limited to 'ext/date/tests/bug50680.phpt')
-rw-r--r--ext/date/tests/bug50680.phpt9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/date/tests/bug50680.phpt b/ext/date/tests/bug50680.phpt
new file mode 100644
index 0000000000..99b1381467
--- /dev/null
+++ b/ext/date/tests/bug50680.phpt
@@ -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"