3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $int = 2; $int_zero = 0; if(isset($int)){ var_dump('hello'); } if(isset($int_zero)){ var_dump('OH NO!'); }
Output for 4.3.0 - 7.1.0
string(5) "hello" string(6) "OH NO!"