3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $mynumber=143270.74; echo number_format($mynumber, 2, '.', ',');
Output for 4.3.0 - 7.1.7
143,270.74