<?php class IteratorTest extends ArrayIterator{} $something = new StdClass(); $i = new IteratorTest(); $i[] = $something; var_dump($i);
You have javascript disabled. You will not be able to edit any code.