3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = {[3, 1, "AB" ], [1,1, "A"], [2, 1, "AA"], [4, 2, "AAA"], [ 5, 3, "ABA"] , [6, 5, "ABAA"], [7, 2, "AAB"]}; ?>
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '{' in /in/la1TO on line 2
Process exited with code 255.