summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelvyn Sopacua <msopacua@php.net>2002-12-21 21:01:26 +0000
committerMelvyn Sopacua <msopacua@php.net>2002-12-21 21:01:26 +0000
commitb686c05f3b0b48967990a9dada79c200191578e2 (patch)
treee0965dd1937b3d924bcc17ab413683e83bbeb6cf
parent174f00fe03716182e8497a52c1f532fef9303c29 (diff)
downloadphp-git-b686c05f3b0b48967990a9dada79c200191578e2.tar.gz
There won't be a warning/fix on this, so remove the test
-rw-r--r--tests/lang/bug20993.phpt31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/lang/bug20993.phpt b/tests/lang/bug20993.phpt
deleted file mode 100644
index fa64ea58d5..0000000000
--- a/tests/lang/bug20993.phpt
+++ /dev/null
@@ -1,31 +0,0 @@
---TEST--
-Bug #20993 (referenced array key, makes array global)
---SKIPIF--
-<?php
-if(TRUE)
- die("skip fix for this problem is yet undecided.");
-?>
---FILE--
-<?php
-$a = array(1);
-$b = array(1);
-$ref =& $a[0];
-
-echo $a[0], ' -b ', $b[0], ' -r ', $ref, "\n";
-changeVal($a);
-echo $a[0], ' -b ', $b[0], ' -r ', $ref, "\n";
-changeVal($b);
-echo $a[0], ' -b ', $b[0], ' -r ', $ref, "\n";
-
-function changeVal($arr)
-{
- $arr[0] = 2;
-}
-?>
---EXPECTF--
-1 -b 1 -r 1
-
-Notice: %s referenced element(s) %s
-%s
-2 -b 1 -r 2
-2 -b 1 -r 2