3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = round(4.9); // 5 $b = (int)4.5; // 4 echo $a; echo $b;
based on bAa84
Output for 4.3.0 - 7.2.0
54