3v4l.org

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