Commit 9872ec58f48 for php
commit 9872ec58f48345fde52c15d03db8aa6b30e12ea8
Merge: d973bd9592c 2008209faf5
Author: Weilin Du <weilindu@php.net>
Date: Tue Dec 1 18:07:04 2026 +0800
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
Fix an uncollected SimpleXMLElement reference cycle (#25790)
diff --cc NEWS
index f8e5aa87734,6c9cfdbf068..4059f5098f0
--- a/NEWS
+++ b/NEWS
@@@ -270,11 -285,9 +270,13 @@@ PH
property defaults use constants. A class with an undefined constant now
throws an Error instead of returning an object with unresolved values.
(Ilia Alshanetsky)
+ . Fixed a memory leak when a SimpleXMLElement forms a reference cycle
+ through a missing element. (lacatoire, ndossche)
+- Sockets:
+ . Fixed socket_addrinfo_lookup() rejecting an empty packed hints array.
+ (lacatoire)
+
- Sodium:
. Fixed sodium_add() and sodium_increment() retaining stale string hashes
and UTF-8 validity flags. (lacatoire)