3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(+"1.2345e9", intval("1.2345e9"), intval(123, 8), intval("123", 8));
Output for 7.1.0 - 7.3.0alpha1
float(1234500000) int(1234500000) int(123) int(83)
Output for 5.3.22 - 7.0.20
float(1234500000) int(1) int(123) int(83)