3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(isset($a)) { echo 'foo'; } if($a) { echo 'bar'; } if_exist($a) { echo 'baz'; }
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected '{' in /in/hma05 on line 11
Process exited with code 255.