[doc-en] master: Fix the version of the true return type change on ArrayObject and ArrayIterator sorts (#6058)

From: Date: Wed, 11 Nov 2026 19:31:07 +0000
Subject: [doc-en] master: Fix the version of the true return type change on ArrayObject and ArrayIterator sorts (#6058)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23936@lists.php.net to get a copy of this message
Author: Asish Kumar (officialasishkumar) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-11-11T20:31:04+01:00 Commit: https://github.com/php/doc-en/commit/27b2b09c099ef08e199022d4ddc3cd4c19c0fdb1 Raw diff: https://github.com/php/doc-en/commit/27b2b09c099ef08e199022d4ddc3cd4c19c0fdb1.diff Fix the version of the true return type change on ArrayObject and ArrayIterator sorts (#6058) The changelog of ArrayObject and ArrayIterator asort(), ksort(), natsort(), natcasesort(), uasort() and uksort() reused the shared &return.type.true; entity, which says 8.2.0. The stubs declare bool in php-8.2.0 and true in php-8.3.0, so the change happened in 8.3.0. Add a return.type.true.83 entity next to the existing .84 and .85 variants and use it on the twelve pages. Fixes #6054 Signed-off-by: Asish Kumar <officialasishkumar@gmail.com> Changed paths: M language-snippets.ent M reference/spl/arrayiterator/asort.xml M reference/spl/arrayiterator/ksort.xml M reference/spl/arrayiterator/natcasesort.xml M reference/spl/arrayiterator/natsort.xml M reference/spl/arrayiterator/uasort.xml M reference/spl/arrayiterator/uksort.xml M reference/spl/arrayobject/asort.xml M reference/spl/arrayobject/ksort.xml M reference/spl/arrayobject/natcasesort.xml M reference/spl/arrayobject/natsort.xml M reference/spl/arrayobject/uasort.xml M reference/spl/arrayobject/uksort.xml Diff: diff --git a/language-snippets.ent b/language-snippets.ent index 1693ca100919..47aa783d7810 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -653,6 +653,13 @@ searched for within the <link xmlns="http://docbook.org/ns/docbook" linkend="ini </entry> </row>'> +<!ENTITY return.type.true.83 '<row xmlns="http://docbook.org/ns/docbook"> + <entry>8.3.0</entry> + <entry> + The return type is &true; now; previously, it was <type>bool</type>. + </entry> +</row>'> + <!ENTITY return.type.true.84 '<row xmlns="http://docbook.org/ns/docbook"> <entry>8.4.0</entry> <entry> diff --git a/reference/spl/arrayiterator/asort.xml b/reference/spl/arrayiterator/asort.xml index 086d8a7eafbf..49c28d6fb9d8 100644 --- a/reference/spl/arrayiterator/asort.xml +++ b/reference/spl/arrayiterator/asort.xml @@ -55,7 +55,7 @@ This method has been deprecated. </entry> </row> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayiterator/ksort.xml b/reference/spl/arrayiterator/ksort.xml index 8befe64d3ebc..fe2356bb20cd 100644 --- a/reference/spl/arrayiterator/ksort.xml +++ b/reference/spl/arrayiterator/ksort.xml @@ -55,7 +55,7 @@ This method has been deprecated. </entry> </row> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayiterator/natcasesort.xml b/reference/spl/arrayiterator/natcasesort.xml index eae1985dfabd..036f843deed3 100644 --- a/reference/spl/arrayiterator/natcasesort.xml +++ b/reference/spl/arrayiterator/natcasesort.xml @@ -53,7 +53,7 @@ This method has been deprecated. </entry> </row> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayiterator/natsort.xml b/reference/spl/arrayiterator/natsort.xml index e905a76b906d..81d0677dfca7 100644 --- a/reference/spl/arrayiterator/natsort.xml +++ b/reference/spl/arrayiterator/natsort.xml @@ -53,7 +53,7 @@ This method has been deprecated. </entry> </row> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayiterator/uasort.xml b/reference/spl/arrayiterator/uasort.xml index ee0190070e40..22f4987419c9 100644 --- a/reference/spl/arrayiterator/uasort.xml +++ b/reference/spl/arrayiterator/uasort.xml @@ -64,7 +64,7 @@ This method has been deprecated. </entry> </row> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayiterator/uksort.xml b/reference/spl/arrayiterator/uksort.xml index dbe8d5c41068..7dc7b3a2ad83 100644 --- a/reference/spl/arrayiterator/uksort.xml +++ b/reference/spl/arrayiterator/uksort.xml @@ -63,7 +63,7 @@ This method has been deprecated. </entry> </row> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayobject/asort.xml b/reference/spl/arrayobject/asort.xml index af7c2bc50f21..867381a4303f 100644 --- a/reference/spl/arrayobject/asort.xml +++ b/reference/spl/arrayobject/asort.xml @@ -49,7 +49,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayobject/ksort.xml b/reference/spl/arrayobject/ksort.xml index 11d9e9aba710..69ee090d2a0b 100644 --- a/reference/spl/arrayobject/ksort.xml +++ b/reference/spl/arrayobject/ksort.xml @@ -44,7 +44,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayobject/natcasesort.xml b/reference/spl/arrayobject/natcasesort.xml index 5ed73c86fbce..8f698e2d73c1 100644 --- a/reference/spl/arrayobject/natcasesort.xml +++ b/reference/spl/arrayobject/natcasesort.xml @@ -47,7 +47,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayobject/natsort.xml b/reference/spl/arrayobject/natsort.xml index abe33c00c913..87613b77dbfb 100644 --- a/reference/spl/arrayobject/natsort.xml +++ b/reference/spl/arrayobject/natsort.xml @@ -46,7 +46,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayobject/uasort.xml b/reference/spl/arrayobject/uasort.xml index 72dc6c3c9c03..0f2f87b9be9e 100644 --- a/reference/spl/arrayobject/uasort.xml +++ b/reference/spl/arrayobject/uasort.xml @@ -56,7 +56,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable> diff --git a/reference/spl/arrayobject/uksort.xml b/reference/spl/arrayobject/uksort.xml index 8ab1e5e119d1..1c5540157586 100644 --- a/reference/spl/arrayobject/uksort.xml +++ b/reference/spl/arrayobject/uksort.xml @@ -51,7 +51,7 @@ </row> </thead> <tbody> - &return.type.true; + &return.type.true.83; </tbody> </tgroup> </informaltable>

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