downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Iterator::valid> <Iterator::next
[edit] Last updated: Fri, 17 May 2013

view this page in

Iterator::rewind

(PHP 5 >= 5.0.0)

Iterator::rewind返回到迭代器的第一个元素

说明

abstract public void Iterator::rewind ( void )

返回到迭代器的第一个元素。

Note:

当开始一个 foreach 循环时,这是第一个被调用的方法。它将会在 foreach 循环之后被调用。

参数

此函数没有参数。

返回值

任何返回都将被忽略。



add a note add a note User Contributed Notes Iterator::rewind - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites