3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = "-20"; var_dump(intval($var) > 0);
based on P0pLh
Output for 4.3.0 - 7.1.0
bool(false)