Commit c9bead8acbc for php.net
commit c9bead8acbcee93cecaa21698d335bfdfa76e401
Author: Weilin Du <weilindu@php.net>
Date: Sun Jul 19 08:11:03 2026 +0800
[skip ci] UPGRADING: update several missing entries for GMP fixes
update UPGRADING entries for #22798 and #22656
diff --git a/UPGRADING b/UPGRADING
index 145f2239b56..1b7cda4b861 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -42,6 +42,12 @@ PHP 8.6 UPGRADE NOTES
. imagesetstyle(), imagefilter() and imagecrop() filter their array arguments
types / values and raise a TypeError / ValueError accordingly.
+- GMP:
+ . GMP power and shift operators now throw ValueError when GMP right operands
+ are outside the unsigned long range, instead of silently truncating them.
+ . GMP integer string parsing now throw ValueError strings containing NUL
+ bytes, instead of silently truncating them.
+
- Intl:
. Passing a non-stringable object as a time zone to Intl APIs that accept
time zone objects or strings now raises a TypeError instead of an Error.