diff options
Diffstat (limited to 'Zend/tests/unset_cv11.phpt')
-rw-r--r-- | Zend/tests/unset_cv11.phpt | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/Zend/tests/unset_cv11.phpt b/Zend/tests/unset_cv11.phpt index 9ebc3fadb..152ea0229 100644 --- a/Zend/tests/unset_cv11.phpt +++ b/Zend/tests/unset_cv11.phpt @@ -1,21 +1,21 @@ ---TEST--
-unset() CV 11 (unset() of copy destoies original value)
---FILE--
-<?php
-$x = array("default"=>"ok");
-var_dump($x);
-$cf = $x;
-unset($cf['default']);
-var_dump($x);
-echo "ok\n";
-?>
---EXPECT--
-array(1) {
- ["default"]=>
- string(2) "ok"
-}
-array(1) {
- ["default"]=>
- string(2) "ok"
-}
-ok
+--TEST-- +unset() CV 11 (unset() of copy destoies original value) +--FILE-- +<?php +$x = array("default"=>"ok"); +var_dump($x); +$cf = $x; +unset($cf['default']); +var_dump($x); +echo "ok\n"; +?> +--EXPECT-- +array(1) { + ["default"]=> + string(2) "ok" +} +array(1) { + ["default"]=> + string(2) "ok" +} +ok |