summaryrefslogtreecommitdiff
path: root/Zend/tests/bug34518.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug34518.phpt')
-rwxr-xr-xZend/tests/bug34518.phpt38
1 files changed, 0 insertions, 38 deletions
diff --git a/Zend/tests/bug34518.phpt b/Zend/tests/bug34518.phpt
deleted file mode 100755
index b94fdf4981..0000000000
--- a/Zend/tests/bug34518.phpt
+++ /dev/null
@@ -1,38 +0,0 @@
---TEST--
-Bug #34518 (Unset doesn't separate container in CV)
---FILE--
-<?php
-$arr = array(1,2,3);
-$arr["foo"] = array(4,5,6);
-$copy = $arr;
-
-unset($copy["foo"][0]);
-print_r($arr);
-print_r($copy);
-?>
---EXPECT--
-Array
-(
- [0] => 1
- [1] => 2
- [2] => 3
- [foo] => Array
- (
- [0] => 4
- [1] => 5
- [2] => 6
- )
-
-)
-Array
-(
- [0] => 1
- [1] => 2
- [2] => 3
- [foo] => Array
- (
- [1] => 5
- [2] => 6
- )
-
-)