3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = false; $b = true; var_dump($a ? $b ? 'b' : 'c' : 'a'); var_dump($a ? ($b ? 'b' : 'c') : 'a');
based on QDUCL
Output for 4.3.0 - 7.1.0
string(1) "a" string(1) "a"