# The MultipleIterator class

&reftitle.intro;

An Iterator that sequentially iterates over all attached iterators

&reftitle.classsynopsis;

         MultipleIterator

         implements
         Iterator

        &Constants;

         public
         const
         int
         MultipleIterator::MIT_NEED_ANY

         public
         const
         int
         MultipleIterator::MIT_NEED_ALL

         public
         const
         int
         MultipleIterator::MIT_KEYS_NUMERIC

         public
         const
         int
         MultipleIterator::MIT_KEYS_ASSOC

        &Methods;

&reftitle.constants;

`MultipleIterator::MIT_NEED_ANY`

- Do not require all sub iterators to be valid in iteration.

`MultipleIterator::MIT_NEED_ALL`

- Require all sub iterators to be valid in iteration.

`MultipleIterator::MIT_KEYS_NUMERIC`

- Keys are created from the sub iterators position.

`MultipleIterator::MIT_KEYS_ASSOC`

- Keys are created from sub iterators associated information.

&reference.spl.entities.multipleiterator;