3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo() { echo "foo"; } function bar() { echo "bar"; } function zot() { echo "zot"; } function fot() { echo "fot"; } echo true ? (foo() and bar()) : (zot() AND fot()); ?>
Output for 4.3.0 - 7.1.0
foo