<?php$a = new ArrayObject();$a['b'] = array('c'=>array('d'));print_r($a);unset($a['b']['c']);print_r($a);
Standard input is empty
ArrayObject Object ( [b] => Array ( [c] => Array ( [0] => d ) ) ) ArrayObject Object ( [b] => Array ( [c] => Array ( [0] => d ) ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!