[doc-en] master: Mark the SplFixedArray Iterator methods as removed in PHP 8.0 (#6049)

From: Date: Mon, 09 Nov 2026 11:38:52 +0000
Subject: [doc-en] master: Mark the SplFixedArray Iterator methods as removed in PHP 8.0 (#6049)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23927@lists.php.net to get a copy of this message
Author: Louis-Arnaud (lacatoire) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-11-09T12:38:49+01:00 Commit: https://github.com/php/doc-en/commit/c9af55462a7af6b70e1039313a53afc5284aa465 Raw diff: https://github.com/php/doc-en/commit/c9af55462a7af6b70e1039313a53afc5284aa465.diff Mark the SplFixedArray Iterator methods as removed in PHP 8.0 (#6049) Changed paths: M reference/spl/splfixedarray/current.xml M reference/spl/splfixedarray/key.xml M reference/spl/splfixedarray/next.xml M reference/spl/splfixedarray/rewind.xml M reference/spl/splfixedarray/valid.xml Diff: diff --git a/reference/spl/splfixedarray/current.xml b/reference/spl/splfixedarray/current.xml index dd0ad5f952c4..7a23dc3e1d56 100644 --- a/reference/spl/splfixedarray/current.xml +++ b/reference/spl/splfixedarray/current.xml @@ -5,6 +5,9 @@ <refname>SplFixedArray::current</refname> <refpurpose>Return current array entry</refpurpose> </refnamediv> + <refsynopsisdiv> + &warn.feature.removed-8-0-0; + </refsynopsisdiv> <refsect1 role="description"> &reftitle.description; @@ -36,6 +39,29 @@ invalid index or is out of bounds. </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.0.0</entry> + <entry> + &removed.function; + Use <methodname>SplFixedArray::getIterator</methodname> instead. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> </refentry> diff --git a/reference/spl/splfixedarray/key.xml b/reference/spl/splfixedarray/key.xml index 4c9ab5879fce..886e7a330a43 100644 --- a/reference/spl/splfixedarray/key.xml +++ b/reference/spl/splfixedarray/key.xml @@ -5,6 +5,9 @@ <refname>SplFixedArray::key</refname> <refpurpose>Return current array index</refpurpose> </refnamediv> + <refsynopsisdiv> + &warn.feature.removed-8-0-0; + </refsynopsisdiv> <refsect1 role="description"> &reftitle.description; @@ -29,6 +32,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.0.0</entry> + <entry> + &removed.function; + Use <methodname>SplFixedArray::getIterator</methodname> instead. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file diff --git a/reference/spl/splfixedarray/next.xml b/reference/spl/splfixedarray/next.xml index 7f595749102c..bd8bacca08b7 100644 --- a/reference/spl/splfixedarray/next.xml +++ b/reference/spl/splfixedarray/next.xml @@ -5,6 +5,9 @@ <refname>SplFixedArray::next</refname> <refpurpose>Move to next entry</refpurpose> </refnamediv> + <refsynopsisdiv> + &warn.feature.removed-8-0-0; + </refsynopsisdiv> <refsect1 role="description"> &reftitle.description; @@ -29,6 +32,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.0.0</entry> + <entry> + &removed.function; + Use <methodname>SplFixedArray::getIterator</methodname> instead. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file diff --git a/reference/spl/splfixedarray/rewind.xml b/reference/spl/splfixedarray/rewind.xml index a69173a71e55..4e421ee5d888 100644 --- a/reference/spl/splfixedarray/rewind.xml +++ b/reference/spl/splfixedarray/rewind.xml @@ -5,6 +5,9 @@ <refname>SplFixedArray::rewind</refname> <refpurpose>Rewind iterator back to the start</refpurpose> </refnamediv> + <refsynopsisdiv> + &warn.feature.removed-8-0-0; + </refsynopsisdiv> <refsect1 role="description"> &reftitle.description; @@ -29,6 +32,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.0.0</entry> + <entry> + &removed.function; + Use <methodname>SplFixedArray::getIterator</methodname> instead. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file diff --git a/reference/spl/splfixedarray/valid.xml b/reference/spl/splfixedarray/valid.xml index ae233ffa9316..33d0488323a2 100644 --- a/reference/spl/splfixedarray/valid.xml +++ b/reference/spl/splfixedarray/valid.xml @@ -5,6 +5,9 @@ <refname>SplFixedArray::valid</refname> <refpurpose>Check whether the array contains more elements</refpurpose> </refnamediv> + <refsynopsisdiv> + &warn.feature.removed-8-0-0; + </refsynopsisdiv> <refsect1 role="description"> &reftitle.description; @@ -29,6 +32,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.0.0</entry> + <entry> + &removed.function; + Use <methodname>SplFixedArray::getIterator</methodname> instead. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file

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