[php-src] Issue #24165: [ext/intl] Expose unit formatting in NumberFormatter
| From: | stof | Date: | Tue, 06 Oct 2026 15:54:08 +0000 |
| Subject: | [php-src] Issue #24165: [ext/intl] Expose unit formatting in NumberFormatter | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-252920@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/24165
Author: stof
### Description
ICU ships with unit formatting in its modern NumberFormatter. It allows specifying a unit identifier
and the formatter will render it using the CLDR data for proper localized rendering of the unit
(depending on the unit style).
It would be great if Intl could expose this feature in the NumberFormatter.