[php-src] master: [skip ci] UPGRADING: update several missing entries for GMP fixes

Weilin Du via GitHub <[email protected]> Sun, 19 Jul 2026 00:11:06 +0000
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Weilin Du (LamentXU123)
Committer: GitHub (web-flow)
Pusher: LamentXU123
Date: 2026-07-19T08:11:03+08:00

Commit: https://github.com/php/php-src/commit/c9bead8acbcee93cecaa21698d335bfdfa76e401
Raw diff: https://github.com/php/php-src/commit/c9bead8acbcee93cecaa21698d335bfdfa76e401.diff

[skip ci] UPGRADING: update several missing entries for GMP fixes

update UPGRADING entries for #22798 and #22656

Changed paths:
  M  UPGRADING


Diff:

diff --git a/UPGRADING b/UPGRADING
index 145f2239b56b..1b7cda4b8612 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.