Commit 4ebf1c0e8c6 for php

commit 4ebf1c0e8c66d04df2b12d49c36394770c93e62b
Merge: fec70440dd8 78bf11806b0
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Thu Nov 19 19:00:16 2026 -0500

    Merge branch 'PHP-8.5' into PHP-8.6

    * PHP-8.5:
      ext/dom: Resolve constants of a node class when registering it

diff --cc NEWS
index f294f129b63,917e3c1519e..3ccb8c0c0d2
--- a/NEWS
+++ b/NEWS
@@@ -57,12 -46,12 +57,15 @@@ PH
  - DOM:
    . Fixed bug GH-25306 (Assertion status == LXB_STATUS_OK in dom_parse_selector
      when lexbor allocation fails). (ndossche)
 -  . Fixed bug GH-25305 (NULL dereference in lxb_dom_document_destroy on lexbor
 -    document init failure). (David Carlier)
+   . Fixed crash when registerNodeClass() is given a class with a constant
+     expression that cannot be evaluated; registerNodeClass() now throws the
+     evaluation Error instead. (Ilia Alshanetsky)

 +- Fileinfo:
 +  . Fixed bug GH-25051 (TrueType fonts detected as application/octet-stream
 +    since libmagic 5.48). (Weilin Du)
 +  . Fixed incorrect MIME type detection for HWPX files. (Weilin Du)
 +
  - Filter:
    . Fixed stack overflow in filter_var() and filter_var_array() with deeply
      nested arrays. (Eyüp Can Akman)