Skip to content

[Sync-EN] Document that SimpleXML get methods no longer implicitly rewind - #1785

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1604
Open

[Sync-EN] Document that SimpleXML get methods no longer implicitly rewind#1785
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1604

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Syncs reference/simplexml/simplexmlelement.xml and reference/simplexml/simplexmlelement/rewind.xml with php/doc-en#5737 and php/doc-en#5699.

php/doc-en#5737:

  • The class changelog gains the 8.4.0 row: get methods such as SimpleXMLElement::asXML() or SimpleXMLElement::getName(), and casting a SimpleXMLElement to a string, no longer rewind the iterator implicitly; it has to be rewound explicitly with SimpleXMLElement::rewind().
  • SimpleXMLElement::rewind() gains the matching note.

php/doc-en#5699: mirrors the removal of the two empty xi:fallback elements in the class synopsis.

EN-Revision bumped to 418ec505128707215c5c99ad4a66a88bfd84a0ff on both files.

Fixes: #1604

@lacatoire
lacatoire requested a review from a team as a code owner August 31, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] ext/simplexml: document that get methods and casts no longer implicitly rewind (PHP 8.4)

1 participant