Commit 430bc2d909c for php
commit 430bc2d909c9c45d6c7b189d186f5e6f5c11cef1
Merge: 3913e039656 f2a89256996
Author: Arnaud Le Blanc <arnaud.lb@gmail.com>
Date: Mon Oct 5 18:50:09 2026 +0200
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
[ci skip] NEWS
Rethrow exceptions from destructors called by the GC in a fiber (#24118)
diff --cc NEWS
index e4ce7f3f7cf,94cad245e0f..fe2e4fa9028
--- a/NEWS
+++ b/NEWS
@@@ -38,8 -22,28 +38,10 @@@ PH
function and a later request calls it. (Ilia Alshanetsky)
. Fixed System V shared memory emulation for Windows attaching segments past
the end of their mapping. (Ilia Alshanetsky)
+ . Fixed exception thrown by destructor during GC in a Fiber not being rethrown
+ into the frame that triggered the GC. (Nicolas Grekas)
-- CLI
- . Fix GH-22567 (Windows ZTS CLI SAPI should refresh its TSRMLS cache during
- request activation). (matyhtf)
- . Fixed bug GH-23764 (Built-in server leaks a file descriptor on every HEAD
- request for a static file). (jakubskopal)
- . Fixed the built-in server truncating an error page and leaking its
- unsent part after a partial socket write. (Ilia Alshanetsky)
-
- DOM:
- . Fixed use-after-free when re-constructing a DOMXPath whose php:function
- registrations are freed while still reachable from the cycle collector.
- (Ilia Alshanetsky)
- . Fixed Dom\HTMLDocument::getElementById() not finding ids of SVG and
- MathML elements. (Ilia Alshanetsky)
- . Fixed Dom\HTMLDocument giving attributes the namespace of their element
- when a fragment is parsed with an xlink, xml or xmlns context element.
- (Ilia Alshanetsky)
- . Fixed bug GH-23887 (Dom\HTMLCollection::namedItem() assertion failure,
- hang, or missed first element). (Lazizbek Ergashev)
. Fixed DOMXPath and Dom\XPath losing the context node and in-scope
namespaces of an evaluation after a php:function() callback evaluated
another expression on the same object. (Ilia Alshanetsky)