3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = (float)(0.2 + 1.6); var_dump($x);
based on SiPkt
Output for 4.3.0 - 7.2.0
float(1.8)