3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = (int) "-2.3e3"; var_dump($i);
based on TXURW
Output for 7.1.0 - 7.2.0
int(-2300)
Output for 5.3.22 - 7.0.20
int(-2)