[PHP-CVS] [php-src] master: [skip ci] Add UPGRADING.INTERNALS entry for
[email protected] (Weilin Du via GitHub) Tue, 4 Aug 2026 16:07:41 +0000
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Weilin Du (LamentXU123)
Committer: GitHub (web-flow)
Pusher: LamentXU123
Date: 2026-08-05T00:07:39+08:00
Commit: https://github.com/php/php-src/commit/9950a5939efc7eabe84d3b12e1dce791b002d197
Raw diff: https://github.com/php/php-src/commit/9950a5939efc7eabe84d3b12e1dce791b002d197.diff
[skip ci] Add UPGRADING.INTERNALS entry for
Added PHP_INTL_FUNCTION_WITH_ERROR_RESET() for error handling and updated IC_METHOD() behavior.
Changed paths:
M UPGRADING.INTERNALS
Diff:
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 7bdbe08ce567..8a432cdeb5b5 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -260,6 +260,11 @@ PHP 8.6 INTERNALS UPGRADE NOTES
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.
+ . Added PHP_INTL_FUNCTION_WITH_ERROR_RESET() for procedural functions that
+ reset the global error. Use it instead of PHP_FUNCTION() followed by a
+ manual intl_error_reset(NULL) call.
+ . IC_METHOD() now resets the global error before entering the method
+ implementation. IntlChar methods should no longer reset it manually.
- ext/mbstring:
. Added GB18030-2022 to default encoding list for zh-CN.