3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = '2 + 2 = ' . (2 + 2 === 4 ? 4 : 2 + 2 === 5 ? 5 : 'dunno'); // should output "4", right? RIGHT? echo $var;
Output for 4.3.0 - 7.1.0
2 + 2 = 5