3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( (int) '5e5', (float) '5e5' );
based on HVQag
Output for 7.1.0 - 7.2.0
int(500000) float(500000)
Output for 5.5.0 - 7.0.20
int(5) float(500000)