[php-src] PR #22446: ext/Intl: Implement a compatibility layer for ICU version-specific API difference
| From: | LamentXU123 | Date: | Thu, 25 Jun 2026 05:29:57 +0000 |
| Subject: | [php-src] PR #22446: ext/Intl: Implement a compatibility layer for ICU version-specific API difference | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36622@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22446
Author: LamentXU123
It is quite annoying to deal with ICU version guards here and there throughout the whole extension.
However, the guards are on the other hand important for the extension to work as we must check for
ICU compatibility for some of our features. But that doesn't mean we need to write all these
shitty
#if stuff anywhere.
I therefore wrote this PR to implement several internal APIs to check for compatibility. This very
much enhance readability and reduce the possibility of make mistakes in the future when we are
adding guards to new stuffs.
@devnexen please take a look if you have time, very much appreciated!!