Commit fd5542513da for php
commit fd5542513dacff1837247a471bd24b956e6eca92
Merge: 604eaea7a2e 7427db35646
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Fri Nov 27 13:38:33 2026 -0500
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
Zend: Reset extended_value of FREE synthesized by DCE
diff --cc NEWS
index 4e17e1c384f,4054fa4db09..ac804eeab5d
--- a/NEWS
+++ b/NEWS
@@@ -177,26 -154,17 +177,28 @@@ PH
(pavimus)
. Fixed incorrect constant propagation when unpacking into partially known
arrays. (Weilin Du)
- . Fixed tracing JIT taking the wrong branch after a VM interrupt.
- (Brian Marks)
. Fixed function JIT ASSIGN_DIM reporting an undefined value or key out of
order, or when the VM does not, on non-array containers. (Jorg Sowa)
+ . Fixed bug GH-25449 (Element of a by-reference function result passed as
+ an argument arrives as null). (Ilia Alshanetsky)
+ . Fixed tracing JIT taking the wrong branch after a VM interrupt.
+ (Brian Marks)
. Fix JIT register allocation for ASSIGN to traced reference. (ndossche)
+ . Fixed a double free when a destructor throws while freeing a temporary
+ whose result the optimizer discarded. (Ilia Alshanetsky)
- OpenSSL:
+ . Fixed bug GH-25172 (TLS session reuse shares request-lifetime callback
+ structures with persistent streams). (cxxz16, David Carlier)
+ . Fixed an exception thrown by the session_get_cb stream context callback
+ being replaced with a TypeError. (Ilia Alshanetsky)
+ . Fixed use-after-free when a stream is closed by the callback for
+ `early_data_cb`, `psk_client_cb`, `psk_server_cb`, `session_get_cb`, or
+ `session_new_cb`. (DanielEScherzer)
. Fixed bug GH-20920 (LibreSSL build regression with PHP 8.5).
(Eugene Gvozdetsky, Theo Buehler, Jakub Zelenka)
+ . Fixed SNI_server_certs being ignored on a server stream that reuses the
+ SSL context of a session stream. (Jakub Zelenka)
- PDO:
. Fixed bug GH-25650 (PDO::query() reports the wrong argument numbers for