3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = (int)(( 0.1 + 0.7 ) * 10); var_dump($x);
Output for 4.3.0 - 7.1.0
int(7)