3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i=1; $value = ($i==1) ? 'je to true' : 'je to false'; echo "$value\n"; $i=2; $value = ($i==1) ? 'je to true' : 'je to false'; echo "$value\n"; ?>
Output for 4.3.0 - 7.1.0
je to true je to false