3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function doit() { echo 'true'; } if (true) doit();
Output for 5.6.30
true