Skip to content

Commit 9950a59

Browse files
authored
[skip ci] Add UPGRADING.INTERNALS entry for
Added PHP_INTL_FUNCTION_WITH_ERROR_RESET() for error handling and updated IC_METHOD() behavior.
1 parent 3fa8c16 commit 9950a59

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎UPGRADING.INTERNALS‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,11 @@ PHP 8.6 INTERNALS UPGRADE NOTES
260260
direct U_ICU_VERSION_* guards for supported ICU API variants.
261261
. The internal grapheme_get_break_iterator() helper no longer accepts a
262262
stack buffer argument; pass only the UErrorCode* status argument.
263+
. Added PHP_INTL_FUNCTION_WITH_ERROR_RESET() for procedural functions that
264+
reset the global error. Use it instead of PHP_FUNCTION() followed by a
265+
manual intl_error_reset(NULL) call.
266+
. IC_METHOD() now resets the global error before entering the method
267+
implementation. IntlChar methods should no longer reset it manually.
263268

264269
- ext/mbstring:
265270
. Added GB18030-2022 to default encoding list for zh-CN.

0 commit comments

Comments
 (0)