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.

�μ�