Commit 78bf11806b0 for php
commit 78bf11806b0ed979ffe524a1660c0a0e7f2af3c1
Merge: c2f6aa93e7c 51d440cbc62
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Thu Nov 19 18:57:39 2026 -0500
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
ext/dom: Resolve constants of a node class when registering it
diff --cc NEWS
index 1e9d0c7e053,f77eaa9174e..917e3c1519e
--- a/NEWS
+++ b/NEWS
@@@ -44,10 -42,15 +44,13 @@@ PH
(Ilia Alshanetsky)
- DOM:
- . Fixed bug GH-25268 (NULL php_libxml_ref_obj dereference in
- dom_objects_store_clone_obj when cloning Dom\Notation). (David Carlier)
. Fixed bug GH-25306 (Assertion status == LXB_STATUS_OK in dom_parse_selector
when lexbor allocation fails). (ndossche)
- . Fixed bug GH-25434 (C14NFile() on a Dom\XMLDocument leaves the document
- changed and leaks memory). (lazerg)
+ . 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)
- Filter:
. Fixed stack overflow in filter_var() and filter_var_array() with deeply