[doc-en] master: Fix the version of the true return type on 16 more pages: 8.3.0, not 8.2.0 (#6059)

From: Date: Wed, 11 Nov 2026 19:41:33 +0000
Subject: [doc-en] master: Fix the version of the true return type on 16 more pages: 8.3.0, not 8.2.0 (#6059)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23937@lists.php.net to get a copy of this message
Author: Tiago Cruz (TiagoCruz1224) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-11-11T20:41:29+01:00 Commit: https://github.com/php/doc-en/commit/93338e59c429aaace224cec8359c81b03f3f3b9d Raw diff: https://github.com/php/doc-en/commit/93338e59c429aaace224cec8359c81b03f3f3b9d.diff Fix the version of the true return type on 16 more pages: 8.3.0, not 8.2.0 (#6059) php-src 85338569de ("Narrow bool return types to true when possible"), which is in PHP 8.3.0 and in no 8.2 release, narrowed these functions from bool to true: natsort(), natcasesort() and rsort(), seven IntlCalendar methods, pg_close(), pg_untrace() and four snmp_set_* functions. Reflection reports bool on 8.2 and true on 8.3 for each. 15 of these pages say 8.2.0, through the &return.type.true; entity. Switch them to a &return.type.true.83; entity, the same one #6058 adds for the ArrayObject and ArrayIterator pages, and add that row to IntlCalendar::setMinimalDaysInFirstWeek(), which had none. On IntlCalendar::set() the row also moves below the 8.4.0 one, so the changelog stays newest first. The ten other array functions that use &return.type.true; did become true in 8.2.0 and are left alone. Changed paths: M reference/array/functions/natcasesort.xml M reference/array/functions/natsort.xml M reference/array/functions/rsort.xml M reference/intl/intlcalendar/clear.xml M reference/intl/intlcalendar/set.xml M reference/intl/intlcalendar/setfirstdayofweek.xml M reference/intl/intlcalendar/setlenient.xml M reference/intl/intlcalendar/setminimaldaysinfirstweek.xml M reference/intl/intlcalendar/setrepeatedwalltimeoption.xml M reference/intl/intlcalendar/setskippedwalltimeoption.xml M reference/pgsql/functions/pg-close.xml M reference/pgsql/functions/pg-untrace.xml M reference/snmp/functions/snmp-set-enum-print.xml M reference/snmp/functions/snmp-set-oid-output-format.xml M reference/snmp/functions/snmp-set-quick-print.xml M reference/snmp/functions/snmp-set-valueretrieval.xml Diff: diff --git a/reference/array/functions/natcasesort.xml b/reference/array/functions/natcasesort.xml index 5bb2c635b362..29259e401976 100644 --- a/reference/array/functions/natcasesort.xml +++ b/reference/array/functions/natcasesort.xml @@ -58,7 +58,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/array/functions/natsort.xml b/reference/array/functions/natsort.xml index ed33dc1b0f80..28aa9dde53c3 100644 --- a/reference/array/functions/natsort.xml +++ b/reference/array/functions/natsort.xml @@ -56,7 +56,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/array/functions/rsort.xml b/reference/array/functions/rsort.xml index aaf08c0ba966..2ffeb7ff8d6c 100644 --- a/reference/array/functions/rsort.xml +++ b/reference/array/functions/rsort.xml @@ -57,7 +57,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/intl/intlcalendar/clear.xml b/reference/intl/intlcalendar/clear.xml index de394d1a5613..381fd00289e6 100644 --- a/reference/intl/intlcalendar/clear.xml +++ b/reference/intl/intlcalendar/clear.xml @@ -70,7 +70,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/intl/intlcalendar/set.xml b/reference/intl/intlcalendar/set.xml index ebbb63d7284d..980ed896c0b3 100644 --- a/reference/intl/intlcalendar/set.xml +++ b/reference/intl/intlcalendar/set.xml @@ -154,7 +154,6 @@ </row> </thead> <tbody> - &return.type.true; <row> <entry>8.4.0</entry> <entry> @@ -163,6 +162,7 @@ <methodname>IntlCalendar::setDateTime</methodname>. </entry> </row> + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/intl/intlcalendar/setfirstdayofweek.xml b/reference/intl/intlcalendar/setfirstdayofweek.xml index 2912a47e43f4..413230115788 100644 --- a/reference/intl/intlcalendar/setfirstdayofweek.xml +++ b/reference/intl/intlcalendar/setfirstdayofweek.xml @@ -72,7 +72,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/intl/intlcalendar/setlenient.xml b/reference/intl/intlcalendar/setlenient.xml index 496ec8f09009..9a5e47548aea 100644 --- a/reference/intl/intlcalendar/setlenient.xml +++ b/reference/intl/intlcalendar/setlenient.xml @@ -71,7 +71,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/intl/intlcalendar/setminimaldaysinfirstweek.xml b/reference/intl/intlcalendar/setminimaldaysinfirstweek.xml index 4f81641e11bc..41465f785ace 100644 --- a/reference/intl/intlcalendar/setminimaldaysinfirstweek.xml +++ b/reference/intl/intlcalendar/setminimaldaysinfirstweek.xml @@ -82,6 +82,7 @@ </row> </thead> <tbody> + &return.type.true.83; <row> <entry>8.0.0</entry> <entry> diff --git a/reference/intl/intlcalendar/setrepeatedwalltimeoption.xml b/reference/intl/intlcalendar/setrepeatedwalltimeoption.xml index 64347e730c4d..5e880c6987a2 100644 --- a/reference/intl/intlcalendar/setrepeatedwalltimeoption.xml +++ b/reference/intl/intlcalendar/setrepeatedwalltimeoption.xml @@ -76,7 +76,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/intl/intlcalendar/setskippedwalltimeoption.xml b/reference/intl/intlcalendar/setskippedwalltimeoption.xml index 9d8d1fafd7c9..b1e69a52e23f 100644 --- a/reference/intl/intlcalendar/setskippedwalltimeoption.xml +++ b/reference/intl/intlcalendar/setskippedwalltimeoption.xml @@ -90,7 +90,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/pgsql/functions/pg-close.xml b/reference/pgsql/functions/pg-close.xml index 944d27708964..5a07325f99d9 100644 --- a/reference/pgsql/functions/pg-close.xml +++ b/reference/pgsql/functions/pg-close.xml @@ -63,7 +63,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; &pgsql.changelog.connection-object; <row> <entry>8.0.0</entry> diff --git a/reference/pgsql/functions/pg-untrace.xml b/reference/pgsql/functions/pg-untrace.xml index f7f63ee78a17..c7c6ac09424e 100644 --- a/reference/pgsql/functions/pg-untrace.xml +++ b/reference/pgsql/functions/pg-untrace.xml @@ -50,7 +50,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; &pgsql.changelog.connection-object; <row> <entry>8.0.0</entry> diff --git a/reference/snmp/functions/snmp-set-enum-print.xml b/reference/snmp/functions/snmp-set-enum-print.xml index e8cee9061697..1455f40e16f1 100644 --- a/reference/snmp/functions/snmp-set-enum-print.xml +++ b/reference/snmp/functions/snmp-set-enum-print.xml @@ -51,7 +51,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/snmp/functions/snmp-set-oid-output-format.xml b/reference/snmp/functions/snmp-set-oid-output-format.xml index 2bc215d1c75b..7cfab58480b7 100644 --- a/reference/snmp/functions/snmp-set-oid-output-format.xml +++ b/reference/snmp/functions/snmp-set-oid-output-format.xml @@ -61,7 +61,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/snmp/functions/snmp-set-quick-print.xml b/reference/snmp/functions/snmp-set-quick-print.xml index 97c5514c8958..ad651f770157 100644 --- a/reference/snmp/functions/snmp-set-quick-print.xml +++ b/reference/snmp/functions/snmp-set-quick-print.xml @@ -63,7 +63,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/snmp/functions/snmp-set-valueretrieval.xml b/reference/snmp/functions/snmp-set-valueretrieval.xml index 2f656d86be48..4864485a9afe 100644 --- a/reference/snmp/functions/snmp-set-valueretrieval.xml +++ b/reference/snmp/functions/snmp-set-valueretrieval.xml @@ -71,7 +71,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable>

« previous php.doc.cvs (#23937) next »