[RFC] Add Locale::getDisplayKeyword() and Locale::getDisplayKeywordValue()

php.internals

LamentXU

102 days ago
Hi, I want to introduce my new RFC on adding Locale::getDisplayKeyword() and Locale::getDisplayKeywordValue() to the intl extension, see [1]. This fills in the little gap between ICU API and php interface, as every getdisplay* ICU API has a corresponding php inferface without uloc_getDisplayKeywordValue and uloc_getDisplayKeyword. Take care, Weilin Du [1]: https://wiki.php.net/rfc/getdisplaykeyword_and_getdisplaykeywordvalue

Weilin Du

86 days ago
Hi, I am starting the vote on this RFC next Tuesday, 9 June 2026. The RFC suggests to add two new functions in the intl extension to fill in little gaps between the php interface and the ICU lib. Best, Weilin Du RFC: https://wiki.php.net/rfc/getdisplaykeyword_and_getdisplaykeywordvalue 2026年6月6日 星期六 下午 11:28,Weilin Du <lamentxu@163.com> 来信: > Hi, > > I want to introduce my new RFC on adding Locale::getDisplayKeyword() and > Locale::getDisplayKeywordValue() to the intl extension, see [1]. > This fills in the little gap between ICU API and php interface, as every getdisplay* > ICU API has a corresponding php inferface without uloc_getDisplayKeywordValue > and uloc_getDisplayKeyword. > > Take care, > Weilin Du > > [1]: https://wiki.php.net/rfc/getdisplaykeyword_and_getdisplaykeywordvalue

weilin-du@qq.com

69 days ago
Hello, The voting of RFC: https://wiki.php.net/rfc/getdisplaykeyword_and_getdisplaykeywordvalue&nbsp;is now closed.&nbsp; Given the result of the voting process (18 yes 0 no 2 abstain) the RFC is now officially accepted. See the implementation at: https://github.com/php/php-src/pull/22264 Thank you for your participation in the process! Take Care Weilin Du