]> granicus.if.org Git - php/commitdiff
There won't be a warning/fix on this, so remove the test
authorMelvyn Sopacua <msopacua@php.net>
Sat, 21 Dec 2002 21:01:26 +0000 (21:01 +0000)
committerMelvyn Sopacua <msopacua@php.net>
Sat, 21 Dec 2002 21:01:26 +0000 (21:01 +0000)
tests/lang/bug20993.phpt [deleted file]

diff --git a/tests/lang/bug20993.phpt b/tests/lang/bug20993.phpt
deleted file mode 100644 (file)
index fa64ea5..0000000
+++ /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