3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<? $color = 'red';?> <div class="tile-bg-color-<?echo $color;?>"> </div>
Output for 5.4.0 - 7.1.0
<div class="tile-bg-color-red"> </div>
Output for 4.3.0 - 5.3.29
<? $color = 'red';?> <div class="tile-bg-color-<?echo $color;?>"> </div>