PHP 7.1.0 Release Candidate 4 Released


(PHP 5 >= 5.5.0)

Generator::nextResume execution of the generator


public void Generator::next ( void )

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

mark at lange dot demon dot co dot uk
3 months ago
It should be noted that next() sends an implicit null into the generator to ensure that code execution isn't blocked if the generator is expecting a value to be sent into it and the code doesn't execute any send()
To Top