3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump((float)'1e1'); var_dump((int)'1e1'); var_dump('1e1');
Output for 7.1.0
float(10) int(10) string(3) "1e1"
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.0.14
float(10) int(1) string(3) "1e1"
Output for hhvm-3.10.0

Process exited with code 153.