3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $numbers=array(2.3,2.5,2.51,2.7); foreach($numbers as $number){ echo round($number)."\n"; } ?>
Output for 4.3.0 - 7.1.0
2 3 3 3