3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = "1292E-1x"; var_dump((float)$x); var_dump((int)$x);
Output for 7.1.0 - 7.2.0
float(129.2) int(129)
Output for 4.3.0 - 7.0.20
float(129.2) int(1292)