diff options
-rw-r--r-- | ext/date/tests/bug50680.phpt | 9 |
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" |