Commit 6e071b5c8b6 for php
commit 6e071b5c8b65ae0acadf91f97eb4c228d9a513c1
Merge: e1f4db9d184 da9f695814b
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Thu Nov 19 18:24:49 2026 -0500
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
ext/gettext: Fix refcount info for gettext(), dgettext(), dcgettext()
diff --cc NEWS
index 1373d1249ca,19895e9242c..2b1d5c5c1d4
--- a/NEWS
+++ b/NEWS
@@@ -67,10 -53,15 +67,14 @@@ PH
. Fixed stack overflow in filter_var() and filter_var_array() with deeply
nested arrays. (Eyüp Can Akman)
-- GD:
- . Fixed imagecreatefromstring() continuing to decode after throwing for a
- string longer than INT_MAX. (lacatoire)
-
+ - Gettext:
+ . Fixed bug GH-25584 (JIT frees the string returned by gettext(),
+ dgettext() or dcgettext() while it is still in use). (Ilia Alshanetsky)
+
- Intl:
+ . Fixed NumberFormatter::getSymbol(), setSymbol(), getAttribute() and
+ setAttribute() accepting out-of-range values that truncate to a valid one.
+ (Jorg Sowa)
. Fixed Locale::lookup() ignoring the default locale when the language tag
list is empty. (Weilin Du)
diff --cc ext/gettext/gettext_arginfo.h
index 8b622a322ad,a0eb8e2657c..28d71f5ff1c
Binary files differ