]> granicus.if.org Git - php/commitdiff
Skip the test, until a proper descision is made
authorMelvyn Sopacua <msopacua@php.net>
Sat, 21 Dec 2002 16:54:07 +0000 (16:54 +0000)
committerMelvyn Sopacua <msopacua@php.net>
Sat, 21 Dec 2002 16:54:07 +0000 (16:54 +0000)
tests/lang/bug20993.phpt

index 286bf225fe4fb89adf6865f594375e297b50d245..fa64ea58d5af98a4a45137ab8e4d29275b579d68 100644 (file)
@@ -1,5 +1,10 @@
 --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);
@@ -17,7 +22,10 @@ function changeVal($arr)
        $arr[0] = 2;
 }
 ?>
---EXPECT--
-1 -b 1 -r 1
-1 -b 1 -r 1
+--EXPECTF--
 1 -b 1 -r 1
+
+Notice: %s referenced element(s) %s
+%s
+2 -b 1 -r 2
+2 -b 1 -r 2