3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $formatter = new NumberFormatter('en_US', NumberFormatter::CURRENCY); echo $formatter->formatCurrency(2121121221212, 'USD');
Output for 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.2.9
$2,121,121,221,212.00