|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-04-14 23:45 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
-Package: Unknown/Other Function
+Package: intl
[2019-04-14 23:45 UTC] requinix@php.net
[2019-04-14 23:48 UTC] patrice at flaho dot fr
[2019-04-15 01:01 UTC] requinix@php.net
[2019-04-15 01:24 UTC] patrice at flaho dot fr
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 00:00:01 2025 UTC |
Description: ------------ $nf = new \NumberFormatter("fr", \NumberFormatter::CURRENCY); echo '<br>',$nf->formatCurrency(12345.67, "EUR"); Result : 12?345,67 €, should return 12 345,67 € It was working before upgrading php 7.3.3 -> 7.3.4 Test script: --------------- $nf = new \NumberFormatter("fr", \NumberFormatter::CURRENCY); echo '<br>',$nf->formatCurrency(12345.67, "EUR"); $nf = new \NumberFormatter("fr_FR", \NumberFormatter::CURRENCY); echo '<br>',$nf->formatCurrency(12345.67, "EUR"); $nf = new \NumberFormatter("fr_CA", \NumberFormatter::CURRENCY); echo '<br>',$nf->formatCurrency(12345.67, "EUR"); Expected result: ---------------- 12 345,67 € for fr and fr_FR Actual result: -------------- 12?345,67 € for fr and fr_FR 12 345,67 € for fr_CA