[php-src] master: [skip ci] UPGRADING: Fix ext/intl entry

From: Date: Tue, 06 Oct 2026 12:12:31 +0000
Subject: [php-src] master: [skip ci] UPGRADING: Fix ext/intl entry
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141999@lists.php.net to get a copy of this message
Author: Weilin Du (LamentXU123) Committer: GitHub (web-flow) Pusher: LamentXU123 Date: 2026-10-06T20:12:28+08:00 Commit: https://github.com/php/php-src/commit/960d44091724984fe1da27c46f9c48088e890a74 Raw diff: https://github.com/php/php-src/commit/960d44091724984fe1da27c46f9c48088e890a74.diff [skip ci] UPGRADING: Fix ext/intl entry This should be under the "New Features" category as a new argument to an existing function. The original function's behavior isn't changed. Changed paths: M UPGRADING Diff: diff --git a/UPGRADING b/UPGRADING index 9ef58ba60078..87e614cca1c7 100644 --- a/UPGRADING +++ b/UPGRADING @@ -33,6 +33,13 @@ PHP 8.7 UPGRADE NOTES 2. New Features ======================================== +- Intl: + . Locale::acceptFromHttp() and locale_accept_from_http() now accept an + optional $availableLocales array argument. When given, the + Accept-Language header is matched against these locales instead of all + locales known to ICU, and the matching entry is returned as passed. + A ValueError is thrown if the array is empty or contains an invalid + locale, and a TypeError if it contains a non-string value. - Streams: . The so_linger, so_rcvbuf and so_sndbuf stream socket context options are now also applied to unix and unix datagram sockets. @@ -49,14 +56,6 @@ PHP 8.7 UPGRADE NOTES 5. Changed Functions ======================================== -- Intl: - . Locale::acceptFromHttp() and locale_accept_from_http() now accept an - optional $availableLocales array argument. When given, the - Accept-Language header is matched against these locales instead of all - locales known to ICU, and the matching entry is returned as passed. - A ValueError is thrown if the array is empty or contains an invalid - locale, and a TypeError if it contains a non-string value. - ======================================== 6. New Functions ========================================

« previous php.cvs (#141999) next »