/hphp/test/zend/good/tests/lang/array_shortcut_003.php
PHP | 4 lines | 4 code | 0 blank | 0 comment | 0 complexity | 8b4b26158e1c465fcae39de2d6739755 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh <<__EntryPoint>> function main(): void {
- $a = varray[1, 2, 3, 4, 5];
- print_r(varray[$a[1], $a[3]]);
- }