Commit 9950a5939ef for php.net

commit 9950a5939efc7eabe84d3b12e1dce791b002d197
Author: Weilin Du <weilindu@php.net>
Date:   Wed Aug 5 00:07:39 2026 +0800

    [skip ci] Add UPGRADING.INTERNALS entry for

    Added PHP_INTL_FUNCTION_WITH_ERROR_RESET() for error handling and updated IC_METHOD() behavior.

diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 7bdbe08ce56..8a432cdeb5b 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.