![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Square bracket associative array shortcut test ! 3: --FILE-- ! 4: <?php ! 5: print_r(["foo" => "orange", "bar" => "apple", "baz" => "lemon"]); ! 6: ?> ! 7: --EXPECT-- ! 8: Array ! 9: ( ! 10: [foo] => orange ! 11: [bar] => apple ! 12: [baz] => lemon ! 13: )