[DOC-CVS] [doc-en] master: Fix Traversable description (#5773)

[email protected] (Mikhail Alferov via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Mikhail Alferov (mmalferov)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-08-19T09:20:56+02:00

Commit: https://github.com/php/doc-en/commit/14013fe63df29683f759044a46feece2955f4caa
Raw diff: https://github.com/php/doc-en/commit/14013fe63df29683f759044a46feece2955f4caa.diff

Fix Traversable description (#5773)

* Fix Traversable description

* para → simpara

Changed paths:
  M  language/predefined/traversable.xml


Diff:

diff --git a/language/predefined/traversable.xml b/language/predefined/traversable.xml
index 106e3dbdd121..25976cef0d2e 100644
--- a/language/predefined/traversable.xml
+++ b/language/predefined/traversable.xml
@@ -47,7 +47,7 @@
      </thead>
      <tbody>
       <row>
-       <entry>7.4.0</entry>
+       <entry>8.0.0</entry>
        <entry>
         The <interfacename>Traversable</interfacename> interface can now be implemented
         by abstract classes. Extending classes must implement
@@ -63,19 +63,19 @@
   <section role="notes">
    &reftitle.notes;
    <note>
-    <para>
+    <simpara>
      Internal (built-in) classes that implement this interface can be used in
      a &foreach; construct and do not need to implement
      <interfacename>IteratorAggregate</interfacename> or
      <interfacename>Iterator</interfacename>.
-    </para>
+    </simpara>
    </note>
    <note>
-    <para>
-     Prior to PHP 7.4.0, this internal engine interface couldn't be implemented
-     in PHP scripts. Either <interfacename>IteratorAggregate</interfacename>
+    <simpara>
+     Prior to PHP 8.0.0, this internal engine interface couldn't be directly implemented
+     in PHP scripts — not even by abstract classes. Either <interfacename>IteratorAggregate</interfacename>
      or <interfacename>Iterator</interfacename> must be used instead.
-    </para>
+    </simpara>
    </note>
   </section>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.