Let\'s start with simple piece of code to format money with NumberFormatter:
NumberFormatter
$formatter = new NumberFormatter(\'en_US\', NumberFormatter::CURREN
If you set the locale using this function setlocale("LC_ALL", "es_AR"); You can use localeconv()['currency_symbol'] or localeconv()['int_curr_symbol'] to get the locale currency symbol and the international variation of the currency symbol.
setlocale("LC_ALL", "es_AR");
localeconv()['currency_symbol']
localeconv()['int_curr_symbol']