Annotation of embedaddon/php/Zend/tests/unset_cv11.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: unset() CV 11 (unset() of copy destoies original value)
        !             3: --FILE--
        !             4: <?php
        !             5: $x = array("default"=>"ok");
        !             6: var_dump($x);
        !             7: $cf = $x;
        !             8: unset($cf['default']);
        !             9: var_dump($x);
        !            10: echo "ok\n";
        !            11: ?>
        !            12: --EXPECT--
        !            13: array(1) {
        !            14:   ["default"]=>
        !            15:   string(2) "ok"
        !            16: }
        !            17: array(1) {
        !            18:   ["default"]=>
        !            19:   string(2) "ok"
        !            20: }
        !            21: ok

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>