[GIT-PULLS] [php-src] PR #23191: ext/intl: Fix stale intl error state in IntlNumberRangeFormatter

[email protected] (LamentXU123)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23191
Author: LamentXU123

IntlNumberRangeFormatter::createFromSkeleton() and IntlNumberRangeFormatter::format() did not reset intl error state

I know this is yet another "error state" fixes. Unfortunately we could use the function macro added before because these are methods, and we can only reset the error state manually so far.

I personally hate the error state design. I think we should throw exceptions instead. But considering BC breaks... this is just an idea in the void.

IntlNumberRangeFormatter is added in 8.6 so this is the correct branch.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.