3v4l.org

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