Annotation of embedaddon/php/ext/spl/tests/bug52861.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #52861 (unset failes with ArrayObject and deep arrays)
        !             3: --FILE--
        !             4: <?php
        !             5: $arrayObject = new ArrayObject(array('foo' => array('bar' => array('baz' => 'boo'))));
        !             6: 
        !             7: unset($arrayObject['foo']['bar']['baz']);
        !             8: print_r($arrayObject->getArrayCopy());
        !             9: ?>
        !            10: --EXPECT--
        !            11: Array
        !            12: (
        !            13:     [foo] => Array
        !            14:         (
        !            15:             [bar] => Array
        !            16:                 (
        !            17:                 )
        !            18: 
        !            19:         )
        !            20: 
        !            21: )
        !            22: 

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