MultipleIterator::attachIterator

(PHP 5 >= 5.3.0, PHP 7)

MultipleIterator::attachIteratorAttaches iterator information

说锟斤拷

public MultipleIterator::attachIterator ( Iterator $iterator [, string $infos ] ) : void

Attaches iterator information.

Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

锟斤拷锟斤拷

iterator

The new iterator to attach.

infos

The associative information for the Iterator, which must be an integer, a string, or NULL.

锟斤拷锟斤拷值

Description...

锟斤拷锟斤拷锟届常

An IllegalValueException if the iterator parameter is invalid, or if infos is already associated information.

锟轿硷拷