3v4l.org

run code in 200+ php & hhvm versions
<?php echo number_format(-0.01);
Output for 7.2.0 - 7.4.0alpha2
0
Output for 4.3.0 - 5.6.40, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.1.30
-0