(Same as https://github.com/docker-library/php/issues/1301 )
The results of running the following script were different between php:7.4.29-fpm-alpine
and php:7.4.28-fpm-alpine
.
<?php
$fmt = new \NumberFormatter('JA_JP', \NumberFormatter::CURRENCY);
$formatString = $fmt->formatCurrency(0, 'JPY');
var_dump($formatString);
php:7.4.28-fpm-alpine (I expects)
string(4) "¥0"
php:7.4.29-fpm-alpine
string(3) "¥0"
Is there any way to get the results in php:7.4.29-fpm-alpine
to be what they were in php:7.4.28-fpm-alpine
? (Is there a workaround?)
see https://github.com/sogaoh/reproduce-incompatibility-of-format-currency (README.md)
( unconfirmed ) I'm guessing that there is a similar problem between