php-src/ext/date/tests/bug50680.phpt
2010-01-14 15:45:49 +00:00

10 lines
186 B
PHP

--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"