Generator::rewind

(PHP 5 >= 5.5.0)

Generator::rewindRewind the iterator

Descrição

public void Generator::rewind ( void )

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

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Não há valor retornado.

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