3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo number_format(1000, 4) . "\n"; echo bcadd(1000, 0, 4);
Output for 4.3.0 - 5.4.45, 5.6.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.2.0
1,000.0000 1000.0000
Output for 5.5.0 - 5.5.38
1,000.0000 Fatal error: Call to undefined function bcadd() in /in/mpgPv on line 3
Process exited with code 255.