3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $color = array('white', 'green', 'red') ; echo "<li><ul>$color[0]</ul><ul>$color[1]</ul><ul>$color[2]</ul></li>"; ?>
Output for 4.3.0 - 7.2.0
<li><ul>white</ul><ul>green</ul><ul>red</ul></li>