3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $color = array('white', 'green', 'red', 'blue', 'black'); echo "$color[0]";<br> echo "$color[1]";<br> echo "$color[2]";<br> echo "$color[3]";<br> ?>
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '<' in /in/Pa3VO on line 3
Process exited with code 255.