3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(round('15')); var_dump(round('0xF')); ?>
based on K3KW8
Output for 7.0.0 - 7.2.0
float(15) float(0)
Output for 4.3.0 - 5.6.28
float(15) float(15)