diff --git a/reference/datetime/functions/strtotime.xml b/reference/datetime/functions/strtotime.xml index e41d8e46e3..23aba3c8dc 100644 --- a/reference/datetime/functions/strtotime.xml +++ b/reference/datetime/functions/strtotime.xml @@ -90,15 +90,43 @@ + + 5.2.7 + + In PHP 5 prior to 5.2.7, requesting a given occurrence of a + given weekday in a month where that weekday was the first day + of the month would incorrectly add one week to the returned + timestamp. This has been corrected in 5.2.7 and later + versions. + + 5.1.0 - It now returns &false; on failure, instead of -1. + Now returns &false; on failure, instead + of -1. &date.timezone.errors.changelog; + + 5.0.2 + + In PHP 5 up to 5.0.2, "now" and other + relative times are wrongly computed from today's + midnight. This differs from other versions where it is + correctly computed from current time. + + + + 4.4.0 + + In PHP versions prior to 4.4.0, "next" is incorrectly + computed as +2. A typical solution to this is to use + "+1". + + @@ -148,27 +176,6 @@ if (($timestamp = strtotime($str)) === false) { &reftitle.notes; - - - In PHP 5 prior to 5.2.7, requesting a given occurrence of a given - weekday in a month where that weekday was the first day of the - month would incorrectly add one week to the returned timestamp. - - - - - In PHP 5 up to 5.0.2, "now" and other relative times - are wrongly computed from today's midnight. This differs from other - versions where it is correctly computed from current time. - - - - - In PHP versions prior to 4.4.0, "next" is incorrectly - computed as +2. A typical solution to this is to use - "+1". - - The valid range of a timestamp is typically from Fri, 13 Dec