3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $myvar = 1; $my_other_var = 4; $third_var = 10; $dc_tx = 22; $result = $myvar ? $myvar + 6 : ($my_other_var ? $myvar + $third_var : $dc_tx);
based on 7TUsv
Output for 4.3.0 - 7.1.7