3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $my_arary = array('foo','bar'); print_r($my_arary[]);
Output for 5.3.0 - 5.4.22
Fatal error: Cannot use [] for reading in /in/BBtWA on line 3
Process exited with code 255.