3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (true) { echo 'true'; } else { echo 'false'; } if (true || false) { echo 'bar'; } else { echo 'false'; } if (3 != 4) { echo 'foo'; } else { echo 'false'; } if ( !(6 <= 3) ) { echo 'bar'; } else { echo 'false'; } ?>
based on cjDCI
Output for 4.3.0 - 7.2.0
truebarfoobar