3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $amount = 3000.00; var_dump(floor($amount * 100));
Output for 5.2.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
float(300000)
Output for 4.3.5 - 5.2.1
float(3.0E+5)