summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelvyn Sopacua <msopacua@php.net>2002-12-21 16:54:07 +0000
committerMelvyn Sopacua <msopacua@php.net>2002-12-21 16:54:07 +0000
commit2e23a75ff44fdec88c3e74553bc21fb01a62aa57 (patch)
tree2cb0825aa3bacefce8bf456d5b8034e778f29000
parent02a5c36cb9b64c4e19019316c53fa5f5fe4dbcb4 (diff)
downloadphp-git-2e23a75ff44fdec88c3e74553bc21fb01a62aa57.tar.gz
Skip the test, until a proper descision is made
-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