A PHP RFC proposing the addition of two new methods, Locale::getDisplayKeyword() and Locale::getDisplayKeywordValue(), to the intl extension has been officially accepted with a vote of 18 yes, 0 no, and 2 abstain. These methods fill a gap between PHP's interface and the ICU library, where every other getDisplay* ICU API already had a corresponding PHP interface except for uloc_getDisplayKeyword and uloc_getDisplayKeywordValue. The implementation is available on GitHub at php/php-src pull request #22264.
672 Impressions