3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=11; $out = $a > 9 && $a < 15 ? "option1" : $a < 5 ? "option2" : "option3"; echo $out; $out = $a > 9 && $a < 15 ? "option1" : ($a < 5 ? "option2" : "option3"); echo $out; ?>
Output for 4.3.0 - 7.1.0
option2option1