3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo number_format(12345678, 0, ".", " ");
Output for 5.4.0 - 7.1.0
12 345 678
Output for 4.4.1 - 4.4.9, 5.0.5 - 5.3.29
12�345�678
Output for 4.3.0 - 4.4.0, 5.0.0 - 5.0.4
12,345,678