3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function currency($number) { $formatter = new NumberFormatter('en_US', NumberFormatter::CURRENCY); return $formatter->formatCurrency($number, 'USD'); } echo currency(232323223);