mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
4d05f0794c
commit
b156b56f52
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue