Commit e121cb26ec2 for php.net
commit e121cb26ec23b0b74e03a82aec177fb039fb630a
Author: Weilin Du <weilindu@php.net>
Date: Mon Jun 22 14:13:44 2026 +0800
[skip ci] Fix NEWS entry for several Intl fixes into the latest version section
Move the Locale::lookup() and double-construction leak NEWS entries from the
previous release section to the current unreleased section. These fixes landed
after the previous release and should be listed under the next one.
diff --git a/NEWS b/NEWS
index f880b5ca33c..8ee746eadee 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,12 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 8.4.24
+- 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)
@@ -52,10 +58,6 @@ PHP NEWS
for invalid display types. (Weilin Du)
. Fixed Spoofchecker restriction-level APIs to only be exposed with ICU 53
and later. (Graham Campbell)
- . 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)
- mysqli:
. Fix stmt->query leak in mysqli_execute_query() validation errors.