Commit e1f4db9d184 for php

commit e1f4db9d18447980bf5542142f818b9f37728381
Merge: 925d7e3dc04 3b434cf95f3
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Thu Nov 19 18:14:22 2026 -0500

    Merge branch 'PHP-8.5' into PHP-8.6

    * PHP-8.5:
      ext/simplexml: Resolve constants of user classes before instantiation

diff --cc NEWS
index ed97fe60fce,5b2afe33ac1..1373d1249ca
--- a/NEWS
+++ b/NEWS
@@@ -158,15 -143,20 +158,22 @@@ PH
    . Fixed session upload progress to respect session.use_only_cookies.
      (jorgsowa)

+ - SimpleXML:
+   . Fixed a crash with opcache when simplexml_load_string(),
+     simplexml_load_file() or simplexml_import_dom() is given a class whose
+     property defaults use constants. A class with an undefined constant now
+     throws an Error instead of returning an object with unresolved values.
+     (Ilia Alshanetsky)
+
 -- Sockets:
 -  . Fixed socket_addrinfo_lookup() rejecting an empty packed hints array.
 -    (lacatoire)
 +- SOAP:
 +  . Fixed bug GH-25267 (NULL dereference in to_xml_any() with integer key).
 +    (lazerg)
 +  . Fixed bug GH-25303 (NULL encoder dereference in to_xml_list() error
 +    message). (lazerg)

 -- SPL:
 -  . Fixed memory leak of the static variables of a file loaded by
 -    spl_autoload(). (lacatoire)
 +- Sockets:
 +  . Fixed bug GH-25530 (socket_last_error() without a socket returns an error
 +    from a previous request). (Artem Ukrainskiy)

  - Standard:
    . Fixed bug GH-25474 (version_compare() treats large numeric parts as equal