[php-src] master: UPGRADING: Mention faster UTF-8 validation in mbstring (#25795)
| From: | Daniel Lemire via GitHub | Date: | Thu, 26 Nov 2026 19:01:11 +0000 |
| Subject: | [php-src] master: UPGRADING: Mention faster UTF-8 validation in mbstring (#25795) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-144236@lists.php.net to get a copy of this message | ||
Author: Daniel Lemire (lemire)
Committer: GitHub (web-flow)
Pusher: TimWolla
Date: 2026-11-26T20:01:07+01:00
Commit: https://github.com/php/php-src/commit/0a42417e278096e2a632e6b81dfa98d6886f59ae
Raw diff: https://github.com/php/php-src/commit/0a42417e278096e2a632e6b81dfa98d6886f59ae.diff
UPGRADING: Mention faster UTF-8 validation in mbstring (#25795)
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index 607f9427ed6b..49eb47ea6de0 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -247,6 +247,9 @@ PHP 8.7 UPGRADE NOTES
- MBString:
. Improved performance of mb_strlen for UTF-8 strings.
. Improved performance of mb_substr and mb_strpos for UTF-8 strings.
+ . Improved performance of UTF-8 validation, used by mb_check_encoding() and
+ by the UTF-8 fast paths of mb_strlen(), mb_substr() and other functions.
+ It now uses AVX-512 on x86-64 when available, and NEON on ARM64.
- PDO:
. Improved performance of fetching rows with PDO::FETCH_BOTH, the default