3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = 1; echo $foo == 1 ? "one" : $foo == 2 ? "two" : "three";
based on hsFC0
Output for 4.3.0 - 7.1.0
two