3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?=(True ? "Foo" : True ? "Bar" : "Biz");?>
based on 1ASpc
Output for 5.4.0 - 7.1.7
Bar
Output for 4.3.0 - 5.3.29
<?=(True ? "Foo" : True ? "Bar" : "Biz");?>