3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1=>1); $a[2][] = 'asdf'; print_r($a[2);
Output for 5.3.0 - 5.4.13
Parse error: syntax error, unexpected ')', expecting ']' in /in/97XcA on line 5
Process exited with code 255.