MultipleIterator::key

(PHP 5 >= 5.3.0)

MultipleIterator::keyGets the registered iterator instances

說明

public array MultipleIterator::key ( void )

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".

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top