summaryrefslogtreecommitdiff
path: root/Zend/tests/032.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/032.phpt')
-rw-r--r--Zend/tests/032.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/032.phpt b/Zend/tests/032.phpt
new file mode 100644
index 0000000..8f7f994
--- /dev/null
+++ b/Zend/tests/032.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Testing array with '[]' passed as argument by reference
+--FILE--
+<?php
+
+function test(&$var) { }
+test($arr[]);
+
+print "ok!\n";
+
+?>
+--EXPECT--
+ok!