Commit 18652e6f4b7 for php

commit 18652e6f4b76589a71a1b48b8e23c8a2effecfcb
Merge: f59f30cbc53 250c74ee268
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date:   Mon Nov 23 21:59:20 2026 +0100

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      ext/reflection: Don't call destructor when constructor is not public in newInstance(Args)()

diff --cc NEWS
index c16bf3f8048,84f5ed37629..fc0c29d71a3
--- a/NEWS
+++ b/NEWS
@@@ -153,12 -165,12 +153,14 @@@ PH
    . Fixed ReflectionMethod::getClosure() returning a closure for abstract
      methods, which crashed when called for the ones of internal classes.
      (Nicolas Grekas)
+   . Don't call destructor when constructor is not public in newInstance(Args)().
+     (ndossche)

  - SNMP:
 -  . Fixed use-after-free of the context name set by SNMP::setSecurity().
 -    (lacatoire)
 +  . Fixed snmp3_set() citing the wrong argument number for an invalid $timeout
 +    or $retries. (lacatoire)
 +  . Fixed the procedural snmp functions citing the wrong argument number for an
 +    invalid $hostname or $community. (lacatoire)

  - SOAP:
    . Fixed bug GH-25267 (NULL dereference in to_xml_any() with integer key).