mirror of
https://github.com/php/php-src.git
synced 2024-09-29 22:06:09 +00:00
14 lines
142 B
Plaintext
14 lines
142 B
Plaintext
|
--TEST--
|
||
|
Square bracket array shortcut test
|
||
|
--FILE--
|
||
|
<?php
|
||
|
print_r([1, 2, 3]);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
Array
|
||
|
(
|
||
|
[0] => 1
|
||
|
[1] => 2
|
||
|
[2] => 3
|
||
|
)
|