3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $temp = intval('-1'); if ($temp == -1) {echo 'test';} var_dump($temp);
Output for 5.3.0 - 7.1.0
testint(-1)