Document the fact that <4.4 'next' is +2. Update Date Input Formats URL

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207864 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Matt Li 2006-02-24 10:30:42 +00:00
parent 4d05f0794c
commit b156b56f52

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.17 $ -->
<!-- $Revision: 1.18 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.8 -->
<refentry id="function.strtotime">
<refnamediv>
@ -144,6 +144,13 @@ if (($timestamp = strtotime($str)) === false) {
versions where it is correctly computed from current time.
</para>
</warning>
<warning>
<para>
In PHP versions prior to 4.4, <literal>"next"</literal> is incorrectly
computed as +2. A typical solution to this is to use
<literal>"+1"</literal>.
</para>
</warning>
<note>
<para>
The valid range of a timestamp is typically from Fri, 13 Dec