3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print intval(((float) '5.10') * 100); print intval((float) '5.10' * 100); print (int) ((float) '5.10' * 100); print round(((float) '5.10' * 100), 0);
Output for 4.3.0 - 7.1.10
509509509510