Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 713a3fc58c
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (19 sloc) 0.314 kB
--TEST--
Testing nested array shortcut
--FILE--
<?php
print_r([1, 2, 3, ["foo" => "orange", "bar" => "apple", "baz" => "lemon"]]);
?>
--EXPECT--
Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => Array
(
[foo] => orange
[bar] => apple
[baz] => lemon
)
)
Jump to Line
Something went wrong with that request. Please try again.