Commit d84d188c0fd for php.net

commit d84d188c0fdd349addd1213ac693379d3d66a0c3
Merge: 0b0784a66e4 92b08946a33
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Wed Sep 16 19:45:00 2026 -0400

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      dom: fix attribute namespaces from foreign content in the HTML parser

diff --cc NEWS
index 76e317006c0,69b3dec86ed..be02d0d58cc
--- a/NEWS
+++ b/NEWS
@@@ -10,6 -6,13 +10,11 @@@ PH
    . Fixed use-after-free when re-constructing a DOMXPath whose php:function
      registrations are freed while still reachable from the cycle collector.
      (Ilia Alshanetsky)
 -  . Fixed bug GH-23365 (DOMNode::insertBefore($n, $n) drops the node and
 -    leaves a self-referencing sibling list). (David Carlier)
+   . Fixed Dom\HTMLDocument::getElementById() not finding ids of SVG and
+     MathML elements. (Ilia Alshanetsky)
+   . Fixed Dom\HTMLDocument giving attributes the namespace of their element
+     when a fragment is parsed with an xlink, xml or xmlns context element.
+     (Ilia Alshanetsky)

  - Intl:
    . Fixed cloning IntlDateFormatter and MessageFormatter losing PHP-side state