Return to bug52861.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
5.4.17
--TEST-- Bug #52861 (unset failes with ArrayObject and deep arrays) --FILE-- <?php $arrayObject = new ArrayObject(array('foo' => array('bar' => array('baz' => 'boo')))); unset($arrayObject['foo']['bar']['baz']); print_r($arrayObject->getArrayCopy()); ?> --EXPECT-- Array ( [foo] => Array ( [bar] => Array ( ) ) )