Commit dbf6d1f82e6 for php.net
commit dbf6d1f82e6b97bb861a1536af657e09e7a7dc15
Author: Weilin Du <weilindu@php.net>
Date: Mon Jul 13 03:56:22 2026 +0800
[skip ci] Update UPGRADING.INTERNALS with ext/intl changes
#22446 Added compatibility helpers for ICU version differences in ext/intl.
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index bdf874b382d..7775c931604 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.