xref: /PHP-7.2/Zend/tests/032.phpt (revision 17ccbeec)
1--TEST--
2Testing array with '[]' passed as argument by reference
3--FILE--
4<?php
5
6function test(&$var) { }
7test($arr[]);
8
9print "ok!\n";
10
11?>
12--EXPECT--
13ok!
14