Commit 3b434cf95f3 for php

commit 3b434cf95f3a3e841910d4b363f45932717cd25e
Merge: e0bc278c889 4fd9867c604
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Thu Nov 19 18:09:17 2026 -0500

    Merge branch 'PHP-8.4' into PHP-8.5

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

diff --cc NEWS
index 1bc0372d019,992b0318b9e..5b2afe33ac1
--- a/NEWS
+++ b/NEWS
@@@ -143,14 -147,13 +143,21 @@@ 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)
 +
 +- SPL:
 +  . Fixed memory leak of the static variables of a file loaded by
 +    spl_autoload(). (lacatoire)
 +
  - Standard:
    . Fixed bug GH-25474 (version_compare() treats large numeric parts as equal
      on 64-bit Windows). (lazerg, timwolla)