3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 55.555555; echo round($a, 2). "\n"; echo sprintf('%01.2F', $a). "\n"; echo bcmul($a, 100). "\n";
Output for 4.3.10 - 4.4.9, 5.0.3 - 7.2.0
55.56 55.56 5555
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
55.56 5555
Output for 4.3.0 - 4.3.1
55.56 5500