3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=2; $b= $a===1? "one": $a===2? "two" : "three";
based on Rargn
Output for 4.3.0 - 7.2.0