Skip to content

Commit dbf6d1f

Browse files
authored
[skip ci] Update UPGRADING.INTERNALS with ext/intl changes
#22446 Added compatibility helpers for ICU version differences in ext/intl.
1 parent 68d0f56 commit dbf6d1f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

UPGRADING.INTERNALS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@ PHP 8.6 INTERNALS UPGRADE NOTES
173173
. php_idate() now returns the result state, and moves the return value into an
174174
out parameter.
175175

176+
- ext/intl:
177+
. Added intl_icu_compat.h with helpers and feature macros for ICU
178+
version-specific API differences. Code in ext/intl should use the
179+
intl_icu_compat_* helpers and INTL_ICU_HAS_* macros instead of adding
180+
direct U_ICU_VERSION_* guards for supported ICU API variants.
181+
. The internal grapheme_get_break_iterator() helper no longer accepts a
182+
stack buffer argument; pass only the UErrorCode* status argument.
183+
176184
- ext/mbstring:
177185
. Added GB18030-2022 to default encoding list for zh-CN.
178186

0 commit comments

Comments
 (0)