3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 0.4; $b = 0.3; echo (int) (( $a + $b ) * 10);
Output for 5.3.7 - 7.2.0
7