Generator
PHP Manual

Generator::next

(PHP 5 >= 5.5.0, PHP 7)

Generator::nextResume execution of the generator

Description

public void Generator::next ( void )

Calling Generator::next() is equivalent to calling Generator::send() with NULL as argument.

Parameters

This function has no parameters.

Return Values

No value is returned.


Generator
PHP Manual