From a876e6d766548c830747e31b2c5215f2f08ffacb Mon Sep 17 00:00:00 2001 From: lacatoire Date: Mon, 20 Jul 2026 11:19:24 +0200 Subject: [PATCH 1/2] [Sync EN] Document the new Dom\ParentNode $children property (PHP 8.5) --- reference/dom/dom/dom-document.xml | 13 ++++++++++- reference/dom/dom/dom-documentfragment.xml | 13 ++++++++++- reference/dom/dom/dom-element.xml | 13 ++++++++++- reference/dom/dom/dom-parentnode.xml | 25 +++++++++++++++++++++- 4 files changed, 60 insertions(+), 4 deletions(-) diff --git a/reference/dom/dom/dom-document.xml b/reference/dom/dom/dom-document.xml index 8d7ef133d9..9956f18c21 100644 --- a/reference/dom/dom/dom-document.xml +++ b/reference/dom/dom/dom-document.xml @@ -1,5 +1,5 @@ - + Класс Dom\Document @@ -105,6 +105,12 @@ int childElementCount + + public + readonly + Dom\HTMLCollection + children + public Dom\HTMLElementnull @@ -204,6 +210,11 @@ + + + + + body diff --git a/reference/dom/dom/dom-documentfragment.xml b/reference/dom/dom/dom-documentfragment.xml index 7ff3172e46..26b8358465 100644 --- a/reference/dom/dom/dom-documentfragment.xml +++ b/reference/dom/dom/dom-documentfragment.xml @@ -1,5 +1,5 @@ - + Класс Dom\DocumentFragment @@ -61,6 +61,12 @@ int childElementCount + + public + readonly + Dom\HTMLCollection + children + &InheritedProperties; @@ -93,6 +99,11 @@ + + + + + diff --git a/reference/dom/dom/dom-element.xml b/reference/dom/dom/dom-element.xml index f162d590f6..c3742611ad 100644 --- a/reference/dom/dom/dom-element.xml +++ b/reference/dom/dom/dom-element.xml @@ -1,5 +1,5 @@ - + Класс Dom\Element @@ -122,6 +122,12 @@ Dom\Elementnull nextElementSibling + + public + readonly + Dom\HTMLCollection + children + public string @@ -226,6 +232,11 @@ + + + + + innerHTML diff --git a/reference/dom/dom/dom-parentnode.xml b/reference/dom/dom/dom-parentnode.xml index 096b27aadb..34af33b161 100644 --- a/reference/dom/dom/dom-parentnode.xml +++ b/reference/dom/dom/dom-parentnode.xml @@ -1,5 +1,5 @@ - + Интерфейс Dom\ParentNode @@ -23,6 +23,14 @@ Dom\ParentNode + &Properties; + + public + readonly + Dom\HTMLCollection + children + + &Methods; @@ -31,6 +39,21 @@ +
+ &reftitle.properties; + + + children + + + A Dom\HTMLCollection containing all child + elements of this node. Available as of PHP 8.5.0. + + + + +
+ &reference.dom.dom.entities.parentnode; From b8baa9bf948cb664a9da961fb8f1ba1f8905b2ba Mon Sep 17 00:00:00 2001 From: lacatoire Date: Mon, 20 Jul 2026 14:31:38 +0200 Subject: [PATCH 2/2] fix(dom-element): add missing outerHTML fieldsynopsis and varlistentry --- reference/dom/dom/dom-element.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/reference/dom/dom/dom-element.xml b/reference/dom/dom/dom-element.xml index c3742611ad..2fab9e2908 100644 --- a/reference/dom/dom/dom-element.xml +++ b/reference/dom/dom/dom-element.xml @@ -133,6 +133,11 @@ string innerHTML
+ + public + string + outerHTML + public string @@ -243,6 +248,14 @@ Внутренний HTML (или XML для XML-документов) элемента. + + outerHTML + + + Внешний HTML (или XML для XML-документов) элемента, включая сам элемент. Доступно начиная с PHP 8.5.0. + + + substitutedNodeValue