php-src/Zend/tests/032.phpt
2008-05-11 03:50:28 +00:00

14 lines
156 B
PHP

--TEST--
Testing array with '[]' passed as argument by reference
--FILE--
<?php
function test(&$var) { }
test($arr[]);
print "ok!\n";
?>
--EXPECT--
ok!