3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $color = array('white', 'green', 'red'); echo $color[]; ?>
based on oUpbt
Output for 4.3.2 - 5.4.31
Fatal error: Cannot use [] for reading in /in/vDCnW on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot use [] for reading in /in/vDCnW on line 5