3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '3.2e3'; $a++; var_dump($a); var_dump(1.8e307); $a = 5/2; echo (float)(string)$a;
Output for 4.3.3 - 7.1.0
float(3201) float(1.8E+307) 2.5
Output for 4.3.0 - 4.3.2
float(3201) float(0.E+79) 2.5