3v4l.org

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