3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = (int) '-1.3e3'; var_dump($i);
based on eVlqE
Output for 7.1.0 - 7.2.0
int(-1300)
Output for 5.3.22 - 7.0.20
int(-1)