3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $amount = '1234345455.67'; $formatter = new NumberFormatter('en_US', NumberFormatter::CURRENCY); echo 'UK: ', $formatter->formatCurrency($amount, 'USD'), PHP_EOL;
Output for 7.1.7
UK: $1,234,345,455.67