Commit e926c2a2ec7 for php
commit e926c2a2ec700b40d84465abb8f419697c80a5b0
Merge: 8fc841dc45e efb8ad276d6
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Tue Sep 29 14:16:23 2026 -0400
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
ext/libxml: Keep SimpleXML children alive across reconstruction
diff --cc NEWS
index 85b5065108a,e5441fe6bc2..4ffe541ab5d
--- a/NEWS
+++ b/NEWS
@@@ -140,6 -137,20 +140,10 @@@ PH
. Fixed exceptions from user-defined create_sid() handlers being replaced
by return-value validation errors. (Ilia Alshanetsky)
+ - SimpleXML:
+ . Fixed reconstructing a SimpleXMLElement freeing a child element that
+ another variable still references. (Ilia Alshanetsky)
+
-- Sockets:
- . Fixed socket_select() silently truncating sets larger than FD_SETSIZE on
- Windows. (David Carlier)
-
-- SPL:
- . Fixed SplFixedArray::setSize() doing nothing on subclasses whose
- constructor does not call parent::__construct(). (Marc Bennewitz)
- . Fixed memory leak when __construct(), __wakeup() or __unserialize() is
- called from an element destructor during setSize(0). (Marc Bennewitz)
-
- SQLite:
. Fixed a crash when SQLite3::close() is called from a userland callback.
(Ilia Alshanetsky)