3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = true; $b = false; $description = 'Paper: ' . ( $a ? 'a true' : $b ? 'a false, b true' : 'a false, b false' ); var_dump($description);
based on rUe7v
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
string(22) "Paper: a false, b true"
Output for hhvm-3.10.0

Process exited with code 153.