Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 219 Bytes
--TEST--
Square bracket associative array shortcut test
--FILE--
<?php
print_r(["foo" => "orange", "bar" => "apple", "baz" => "lemon"]);
?>
--EXPECT--
Array
(
[foo] => orange
[bar] => apple
[baz] => lemon
)
Jump to Line
Something went wrong with that request. Please try again.