-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
echo (new MessageFormatter('pt', '{0, number, ::unit/kilometer-per-hour unit-width-full-name}'))
->format([100]);
The above code works on my local PHP 8.3 (from Sury PPA) but fails on 3v4l, throwing
Fatal error: Uncaught IntlException: msgfmt_create:
message formatter creation failed: U_NUMBER_SKELETON_SYNTAX_ERROR in /in/tGFID:2
Stack trace:
#0 /in/tGFID(2): MessageFormatter->__construct('pt', '{0, number, ::u...')
#1 {main}
thrown in /in/tGFID on line 2
Process exited with code 255.
I suppose it has something to do with ICU intl library version used to compile the PHP intl ext. Can it be updated on 3v4l too?
Metadata
Metadata
Assignees
Labels
No labels