Return to array_shortcut_005.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
1.1 misho 1: --TEST-- 2: Testing nested array shortcut 3: --FILE-- 4: <?php 5: print_r([1, 2, 3, ["foo" => "orange", "bar" => "apple", "baz" => "lemon"]]); 6: ?> 7: --EXPECT-- 8: Array 9: ( 10: [0] => 1 11: [1] => 2 12: [2] => 3 13: [3] => Array 14: ( 15: [foo] => orange 16: [bar] => apple 17: [baz] => lemon 18: ) 19: 20: )