PHP 7.0.0 RC 1 Released

Generator::rewind

(PHP 5 >= 5.5.0)

Generator::rewindRewind the iterator

Description

public void Generator::rewind ( void )

If iteration has already begun, this will throw an exception.

Parameters

This function has no parameters.

Return Values

No value is returned.

add a note add a note

User Contributed Notes 1 note

up
0
uther at somewherebetweennowhere dot net
1 month ago
I'm guessing the *only* purpose for this even existing is so that it is compatible with the Iterator interface o_O
To Top