Open
Description
Symfony version affected
7.2.0
Description
I try to get numeric code for the 'XCG' (Caribbean guilder) value. But the value is not found.
How to reproduce
With the following code:
if (Currencies::exists('XCG')) { // true
$numericCode = Currencies::getNumericCode('XCG') // error!
}
An error is raised:
Couldn't read the indices [Alpha3ToNumeric][XCG] for the locale "meta"
in D:\Github\calculation\vendor\symfony\intl/Resources/data/currencies".