public void add(E obj) {
        throw new UnsupportedOperationException("add() method is not supported");
    }
This iterator does not support modification of its backing array's size, and so will
always throw an {@link UnsupportedOperationException} when this method is invoked.

@param obj the object to add
@throws UnsupportedOperationException always thrown.
jphp-runtime/src/php/runtime/common/collections/iterators/ObjectArrayListIterator.java