mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Moved the version-specific change notes into the changelog section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288347 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7be49951cf
commit
bdd9deda77
1 changed files with 29 additions and 22 deletions
|
@ -90,15 +90,43 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>5.2.7</entry>
|
||||
<entry>
|
||||
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.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.1.0</entry>
|
||||
<entry>
|
||||
It now returns &false; on failure, instead of <literal>-1</literal>.
|
||||
Now returns &false; on failure, instead
|
||||
of <literal>-1</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
&date.timezone.errors.changelog;
|
||||
|
||||
<row>
|
||||
<entry>5.0.2</entry>
|
||||
<entry>
|
||||
In PHP 5 up to 5.0.2, <literal>"now"</literal> and other
|
||||
relative times are wrongly computed from today's
|
||||
midnight. This differs from other versions where it is
|
||||
correctly computed from current time.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4.4.0</entry>
|
||||
<entry>
|
||||
In PHP versions prior to 4.4.0, <literal>"next"</literal> is incorrectly
|
||||
computed as +2. A typical solution to this is to use
|
||||
<literal>"+1"</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
@ -148,27 +176,6 @@ if (($timestamp = strtotime($str)) === false) {
|
|||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<warning>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</warning>
|
||||
<warning>
|
||||
<para>
|
||||
In PHP 5 up to 5.0.2, <literal>"now"</literal> and other relative times
|
||||
are wrongly computed from today's midnight. This differs from other
|
||||
versions where it is correctly computed from current time.
|
||||
</para>
|
||||
</warning>
|
||||
<warning>
|
||||
<para>
|
||||
In PHP versions prior to 4.4.0, <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