From 06c29d5447157d1a428d2d7bf38ed9ff14712f15 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 23 Aug 2026 18:04:17 +0200 Subject: [PATCH 1/3] [skip ci] UPGRADING: add missing RFC links --- UPGRADING | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UPGRADING b/UPGRADING index 14dbf5a96f02..93ad823b8589 100644 --- a/UPGRADING +++ b/UPGRADING @@ -857,6 +857,7 @@ PHP 8.6 UPGRADE NOTES . Io\Poll\HandleAlreadyWatchedException . Io\Poll\InvalidHandleException . StreamPollHandle + RFC: https://wiki.php.net/rfc/poll_api - URI: . Uri\Rfc3986\UriBuilder and Uri\WhatWg\UrlBuilder @@ -973,6 +974,7 @@ PHP 8.6 UPGRADE NOTES the function will be displayed. This uses the same infrastructure as stack traces, so i.e. sensitive parameters will not be displayed, and strings will be truncated according to zend.exception_string_param_max_len. + RFC: https://wiki.php.net/rfc/display_error_function_args - Mbstring: . The mbstring.detect_order INI directive now updates the internal detection From 4bfec60e894dcd00cf3cc80804b5f3efc19389b6 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 30 Aug 2026 01:40:56 +0200 Subject: [PATCH 2/3] [skip ci] UPGRADING: fix typo --- UPGRADING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADING b/UPGRADING index 93ad823b8589..7cb7f4a745e5 100644 --- a/UPGRADING +++ b/UPGRADING @@ -270,7 +270,7 @@ PHP 8.6 UPGRADE NOTES additional locale arguments when $locales is an array now throws an ArgumentCountError. . linkinfo() now raises a ValueError when the $path argument is empty. - . pathinfo() now raises a ValueError when an invalid $flag argument value is + . pathinfo() now raises a ValueError when an invalid $flags argument value is passed. . scandir() now raises a ValueError when an invalid $sorting_order argument value is passed. From 45d9c73e84b9f26b4cc0043e73426988066658db Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 30 Aug 2026 02:59:49 +0200 Subject: [PATCH 3/3] [skip ci] UPGRADING: move GMP ValueError change to section 1 --- UPGRADING | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/UPGRADING b/UPGRADING index 7cb7f4a745e5..88db55a6d33b 100644 --- a/UPGRADING +++ b/UPGRADING @@ -62,10 +62,17 @@ PHP 8.6 UPGRADE NOTES behavior. - GMP: - . GMP power and shift operators now throw a ValueError when GMP right operands - are outside the unsigned long range, instead of silently truncating them. + . gmp_fact() now throws a ValueError if $num does not fit into an unsigned + long. + . gmp_pow(), gmp_binomial(), gmp_root() and gmp_rootrem() now throw a + ValueError if their second argument does not fit into an unsigned long. + . The shift (<<, >>) and exponentiation (**) operators on GMP objects now + throw a ValueError when GMP right operands are outside the unsigned long range, + instead of silently truncating them. . GMP integer string parsing now throws a ValueError for strings containing NUL bytes, instead of silently truncating them. + . gmp_powm() modulo-by-zero now raises a DivisionByZeroError whose message + includes the function name and argument index ($modulus). - Intl: . Passing a non-stringable object as a time zone to Intl APIs that accept @@ -670,16 +677,6 @@ PHP 8.6 UPGRADE NOTES null was never returned. filter_input_array() is unaffected: it still returns null when the requested superglobal does not exist. -- GMP: - . gmp_fact() now throws a ValueError if $num does not fit into an unsigned - long. - . gmp_pow(), gmp_binomial(), gmp_root() and gmp_rootrem() now throw a - ValueError if their second argument does not fit into an unsigned long. - . The shift (<<, >>) and exponentiation (**) operators on GMP objects now - throw a ValueError if the right operand does not fit into an unsigned long. - . gmp_powm() modulo-by-zero now raises a DivisionByZeroError whose message - includes the function name and argument index ($modulus). - - LDAP: . ldap_free_result() return type has been narrowed from bool to true. The function already always returned true.