3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $color = array('white', 'green', 'red'); foreach ($color as $c) { echo "$c, "; } sort($color); <ul> foreach ($color as $y) { <li> echo "$y"; </li> } </ul> ?>
Output for 5.3.0 - 5.4.31
Parse error: syntax error, unexpected '<' in /in/3pMkY on line 9
Process exited with code 255.