[php-src] master: [skip ci] Update UPGRADING.INTERNALS with ext/intl changes
Weilin Du via GitHub <[email protected]>
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Weilin Du (LamentXU123)
Committer: GitHub (web-flow)
Pusher: LamentXU123
Date: 2026-07-13T03:56:22+08:00
Commit: https://github.com/php/php-src/commit/dbf6d1f82e6b97bb861a1536af657e09e7a7dc15
Raw diff: https://github.com/php/php-src/commit/dbf6d1f82e6b97bb861a1536af657e09e7a7dc15.diff
[skip ci] Update UPGRADING.INTERNALS with ext/intl changes
#22446 Added compatibility helpers for ICU version differences in ext/intl.
Changed paths:
M UPGRADING.INTERNALS
Diff:
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index bdf874b382d0..7775c9316040 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -173,6 +173,14 @@ PHP 8.6 INTERNALS UPGRADE NOTES
. php_idate() now returns the result state, and moves the return value into an
out parameter.
+- ext/intl:
+ . Added intl_icu_compat.h with helpers and feature macros for ICU
+ version-specific API differences. Code in ext/intl should use the
+ intl_icu_compat_* helpers and INTL_ICU_HAS_* macros instead of adding
+ direct U_ICU_VERSION_* guards for supported ICU API variants.
+ . The internal grapheme_get_break_iterator() helper no longer accepts a
+ stack buffer argument; pass only the UErrorCode* status argument.
+
- ext/mbstring:
. Added GB18030-2022 to default encoding list for zh-CN.