summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMelvyn Sopacua <msopacua@php.net>2002-12-21 16:58:23 +0000
committerMelvyn Sopacua <msopacua@php.net>2002-12-21 16:58:23 +0000
commit9dc1412e465c5654e2f9c9970cd350045df7ffdd (patch)
treeb56dcef7011324f7332f5a6f322ff30851336e66 /tests
parent4456b3274f5646e928b2d3ed470d65d0d7f6ee87 (diff)
downloadphp-git-9dc1412e465c5654e2f9c9970cd350045df7ffdd.tar.gz
MFB: Skip the test, until a proper descision is made
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/bug20993.phpt14
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/lang/bug20993.phpt b/tests/lang/bug20993.phpt
index 286bf225fe..fa64ea58d5 100644
--- a/tests/lang/bug20993.phpt
+++ b/tests/lang/bug20993.phpt
@@ -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