[php-src] PR #20197: ext/intl: Do not register IntlNumberRangeFormatter on ICU 62 or lower
| From: | BogdanUngureanu | Date: | Thu, 16 Oct 2025 22:27:22 +0000 |
| Subject: | [php-src] PR #20197: ext/intl: Do not register IntlNumberRangeFormatter on ICU 62 or lower | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33677@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20197
Author: BogdanUngureanu
Instead of throwing an exception when ICU is 62 or earlier, we are now not registering the class at
all.
[Discussed in the initial](https://github.com/php/php-src/pull/19232#issuecomment-3342090526) PR.
This can be tested with this
[container](https://gist.github.com/BogdanUngureanu/26976b10454b5dcb388fe2adacb1d40c) that loads ICU
62.2
PS: the build on ICU 62 will fail due to an unrelated issue. I'll open a separate PR that will
fix that as well.