MultipleIterator::key

(PHP 5 >= 5.3.0, PHP 7)

MultipleIterator::keyGets the registered iterator instances

˵��

public MultipleIterator::key ( void ) : array

Get the registered iterator instances key() result.

Warning

��������δ��д�ĵ������в����б�

����

�˺���û�в�����

����ֵ

An array of all registered iterator instances, or FALSE if no sub iterator is attached.

�����쳣

A LogicException if mode MIT_NEED_ALL is set, and at least one attached iterator is not valid.

Calling this method from foreach triggers warning "Illegal type returned".

�μ�