[DOC-CVS] [doc-en] master: Sync parameter default value changes (#5072)
[email protected] (Máté Kocsis via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Máté Kocsis (kocsismate)
Committer: GitHub (web-flow)
Pusher: kocsismate
Date: 2026-01-13T22:51:10+01:00
Commit: https://github.com/php/doc-en/commit/77fca2416a984491b77e8783dbfa184239773912
Raw diff: https://github.com/php/doc-en/commit/77fca2416a984491b77e8783dbfa184239773912.diff
Sync parameter default value changes (#5072)
Changed paths:
M reference/datetime/datetimezone/gettransitions.xml
Diff:
diff --git a/reference/datetime/datetimezone/gettransitions.xml b/reference/datetime/datetimezone/gettransitions.xml
index 632e41790819..98342cb3bbbc 100644
--- a/reference/datetime/datetimezone/gettransitions.xml
+++ b/reference/datetime/datetimezone/gettransitions.xml
@@ -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>