Would ArrayIterator class supports Associative array?

Hi Guys,

I am doing learning on "PHP Iterator interface" and its dependent classes.

I tried ArrayIterator class with associative array, but don't know how Get/Delete particular data.

$data = array('asss' => 'sssss','asdasd'=>'sadasd','sge'=>'sdsdsd','dfdfbj'=>'kufh','jfuje'=>'kfurfj');

$obj = new ArrayIterator($data);

for($obj->rewind();$obj->valid();$obj->next()){
    echo $obj->key() . ' = ' . $obj->current() .  PHP_EOL ;
}

   

I want to delete or set initail key as "sge" while looping by $obj->delete("sge").

Please share knowledge of Iterator with me.

Thanks in Advance.