mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
Sync parameter default value changes (#5072)
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
<methodsynopsis role="DateTimeZone">
|
||||
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>DateTimeZone::getTransitions</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>timestampBegin</parameter><initializer><constant>PHP_INT_MIN</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>timestampEnd</parameter><initializer><constant>PHP_INT_MAX</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>timestampEnd</parameter><initializer>2147483647</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>array</type><type>false</type></type><methodname>timezone_transitions_get</methodname>
|
||||
<methodparam><type>DateTimeZone</type><parameter>object</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>timestampBegin</parameter><initializer><constant>PHP_INT_MIN</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>timestampEnd</parameter><initializer><constant>PHP_INT_MAX</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>timestampEnd</parameter><initializer>2147483647</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
</refsect1>
|
||||
|
||||
@@ -107,6 +107,29 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
The default value of <parameter>timestampEnd</parameter> has been changed to 2147483647. Previously,
|
||||
it was <constant>PHP_INT_MAX</constant>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user