International PHP Conference 2015

Generator::rewind

(PHP 5 >= 5.5.0)

Generator::rewindRewind the iterator

Descrizione

public void Generator::rewind ( void )

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

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Nessun valore viene restituito.

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