3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $n = 58.9999999; var_dump(round($n)); var_dump(ceil($n)); var_dump(floor($n));
Output for 4.3.0 - 7.2.0
float(59) float(59) float(58)