Commit cf56a8e7e36 for php.net
commit cf56a8e7e361df608a4f089aa7852e7cb78e5f74
Merge: b8278fdf56c e121cb26ec2
Author: Weilin Du <weilindu@php.net>
Date: Mon Jun 22 14:17:23 2026 +0800
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
[skip ci] Fix NEWS entry for several Intl fixes into the latest version section
diff --cc NEWS
index 6c159381c3d,8ee746eadee..cb2a8846fcb
--- a/NEWS
+++ b/NEWS
@@@ -1,18 -1,13 +1,24 @@@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? ????, PHP 8.4.24
+?? ??? ????, PHP 8.5.9
+
+- Core:
+ . Fixed bug GH-22290 (AST pretty printing does not correctly handle strings
+ containing NUL). (iliaal)
+ . Fixed bug GH-22206 (missing return in global register detection).
+ (P3p111n0)
+
+- Opcache:
+ . Fixed bug GH-22158 (Tracing JIT dispatches the observer begin handler
+ through the wrong run_time_cache slot on megamorphic calls). (ptondereau,
+ iliaal)
+ - Intl:
+ . Fixed Locale::lookup() and locale_lookup() to return NULL instead of the
+ fallback locale when a language tag cannot be canonicalized. (Weilin Du)
+ . Fixed memory leaks when calling Collator::__construct() or
+ Spoofchecker::__construct() twice. (Weilin Du)
+
- Reflection:
. Fixed bug GH-22324 (Ignore leading namespace separator in
ReflectionParameter::__construct()). (jorgsowa)
@@@ -46,17 -56,23 +52,13 @@@
(Weilin Du)
. Fixed IntlTimeZone::getDisplayName() to synchronize object error state
for invalid display types. (Weilin Du)
- . Fixed Locale::lookup() and locale_lookup() to return NULL instead of the
- fallback locale when a language tag cannot be canonicalized. (Weilin Du)
- . Fixed memory leaks when calling Collator::__construct() or
- Spoofchecker::__construct() twice. (Weilin Du)
- . Fixed Spoofchecker restriction-level APIs to only be exposed with ICU 53
- and later. (Graham Campbell)
-
-- mysqli:
- . Fix stmt->query leak in mysqli_execute_query() validation errors.
- (David Carlier)
- Opcache:
+ . Fixed bug GH-22265 (Another tailcall vm_interrupt bug). (Levi Morrison)
. Fixed bug GH-20469 (Unsafe inheritance cache replay with reentrant
autoloading). (Levi Morrison)
- . Fixed bug GH-22158 (Tracing JIT dispatches the observer begin handler
- through the wrong run_time_cache slot on megamorphic calls). (ptondereau,
- iliaal)
-
-- OpenSSL:
- . Fixed bug GH-22187 (Memory corruption (zend_mm_heap corrupted) in
- openssl_encrypt with AES-WRAP-PAD). (David Carlier)
+ . Fixed bug GH-21972 (Corrupted variable type when a typed by-value return
+ contains a reference wrapper). (Weilin Du)
- Phar:
. Fixed a bypass of the magic ".phar" directory protection in