文字

Generator::rewind

(PHP 5 >= 5.5.0)

Generator::rewind重置迭代器

说明

public void Generator::rewind ( void )

如果迭代已经开始了,这里会抛出一个异常。

参数

此函数没有参数。

返回值

没有返回值。

用户评论:

[#1] uther at somewherebetweennowhere dot net [2015-07-27 23:38:59]

I'm guessing the *only* purpose for this even existing is so that it is compatible with the Iterator interface o_O

上一篇: 下一篇: