php8.5
Home/ Manual/ spl / multipleiterator/ MultipleIterator::detachIterator

MultipleIterator::detachIterator

PHP function Edit on GitHub ✎

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

Detaches an iterator

Description

MultipleIterator::detachIterator(Iterator $iterator): void

Detaches an iterator.

Func

Parameters

iterator

The iterator to detach.

Return Values

Void

See Also

  • MultipleIterator::attachIterator

Source: reference/spl/multipleiterator/detachiterator.xml · from the official PHP manual (php/doc-en)