summaryrefslogtreecommitdiff
path: root/Zend/tests/list_009.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/list_009.phpt')
-rw-r--r--Zend/tests/list_009.phpt14
1 files changed, 0 insertions, 14 deletions
diff --git a/Zend/tests/list_009.phpt b/Zend/tests/list_009.phpt
deleted file mode 100644
index c28ca8000a..0000000000
--- a/Zend/tests/list_009.phpt
+++ /dev/null
@@ -1,14 +0,0 @@
---TEST--
-list with by-reference assignment should fail
---FILE--
-<?php
-
-$a = [1];
-[&$foo] = $a;
-$foo = 2;
-
-var_dump($a);
-
-?>
---EXPECTF--
-Fatal error: [] and list() assignments cannot be by reference in %s on line %d