3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = Array ( ); $test['one'] = Array(['a']=1, ['b']=2); print_r ($test['one']);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '=', expecting ')' in /in/liqv9 on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/liqv9 on line 7
Process exited with code 255.