3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x=2; $w='hello'; $z='world'; echo $y=$x>4?$w:$z;
based on d9N4u
Output for 4.3.0 - 7.1.0
world