3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $rating = 70; $rottenbig = '<img src="http://ycfac197.mc.yu.edu/COM3780/12fa/homework/2/rottenbig.png" alt="Rotten" />'; if ($rating < 60) { echo $rottenbig; echo '33%'; } else { echo '<img src="http://ycfac197.mc.yu.edu/COM3780/12fa/homework/2/freshbig.png" alt="Fresh" />'; } ?>
based on W7E5R
Output for 4.3.0 - 7.1.0
<img src="http://ycfac197.mc.yu.edu/COM3780/12fa/homework/2/freshbig.png" alt="Fresh" />