iliaa Thu, 14 Jan 2010 15:45:49 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=293548
Log: Added test for bug #50680 Bug: http://bugs.php.net/50680 (Closed) "eight" -> "eighth" Changed paths: A php/php-src/branches/PHP_5_2/ext/date/tests/bug50680.phpt A php/php-src/branches/PHP_5_3/ext/date/tests/bug50680.phpt A php/php-src/trunk/ext/date/tests/bug50680.phpt Added: php/php-src/branches/PHP_5_2/ext/date/tests/bug50680.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/date/tests/bug50680.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/date/tests/bug50680.phpt 2010-01-14 15:45:49 UTC (rev 293548) @@ -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" Added: php/php-src/branches/PHP_5_3/ext/date/tests/bug50680.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/bug50680.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/date/tests/bug50680.phpt 2010-01-14 15:45:49 UTC (rev 293548) @@ -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" Added: php/php-src/trunk/ext/date/tests/bug50680.phpt =================================================================== --- php/php-src/trunk/ext/date/tests/bug50680.phpt (rev 0) +++ php/php-src/trunk/ext/date/tests/bug50680.phpt 2010-01-14 15:45:49 UTC (rev 293548) @@ -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"
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php