xref: /PHP-8.1/Zend/tests/032.phpt (revision 782352c5)
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