saving any different than array or object to ArrayObject/Iterator throws InvalidArgumentException

Check out line 42

    +      $this->storage = array();