From: Rasmus Lerdorf Date: Tue, 30 Jul 2002 18:42:19 +0000 (+0000) Subject: Fix strtotime() "next" keyword handling. X-Git-Tag: dev~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=059f30259647d2373ab28e12505f51e16028cbff;p=php Fix strtotime() "next" keyword handling. --- diff --git a/NEWS b/NEWS index a9b7077caa..1fe4277071 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ? ? ??? 2002, Version 4.3.0 +- Bring strtotime() "next" keyword handling in line with documentation and + its glibc cousin. (Rasmus) - Fixed str_rot13() to not mangle source string. (Rasmus) - Fixed imap_get_quota() to work with multiple returned resources as per the RFC 2087 and bug #14673. (kalowsky, Sander Steffann) diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y index 7112b611b7..54b6c9d432 100644 --- a/ext/standard/parsedate.y +++ b/ext/standard/parsedate.y @@ -520,7 +520,7 @@ static TABLE const OtherTable[] = { { "now", tDAY_UNIT, 0 }, { "last", tUNUMBER, -1 }, { "this", tMINUTE_UNIT, 0 }, - { "next", tUNUMBER, 1 }, + { "next", tUNUMBER, 2 }, { "first", tUNUMBER, 1 }, /* { "second", tUNUMBER, 2 }, */ { "third", tUNUMBER, 3 },