When using money_format on windows, the function does not work because the function is only compatible with strfmon systems.
$number = 1234.56;
setlocale(LC_MONETARY, 'en_US');
echo money_format('%i', $number) . "\n";
// USD 1,234.56
The a...
asked by
04.05.2017 / 18:15