Skip to content

Document the new Dom\ParentNode $children property (PHP 8.5)#5677

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:feat/dom-parentnode-children-85
Open

Document the new Dom\ParentNode $children property (PHP 8.5)#5677
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:feat/dom-parentnode-children-85

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Documents the new read-only $children property (Dom\HTMLCollection) added to Dom\ParentNode and its implementations Dom\Element, Dom\Document and Dom\DocumentFragment in PHP 8.5.

The property is defined once on Dom\ParentNode and referenced through a local anchor in each implementing class, matching how the other ParentNode properties are documented.

@lacatoire lacatoire requested a review from ndossche as a code owner July 12, 2026 10:20
Add the read-only $children property (Dom\HTMLCollection) to Dom\ParentNode
and its implementations Dom\Element, Dom\Document and Dom\DocumentFragment.
The property is defined once on Dom\ParentNode and referenced through a local
anchor in each implementing class, matching the other ParentNode properties.
@lacatoire lacatoire force-pushed the feat/dom-parentnode-children-85 branch from 4f16735 to ecfc741 Compare July 12, 2026 10:21

@ndossche ndossche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

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.

2 participants