php8.5
Home/ Manual/ predefined / generator/ Generator::next

Generator::next

PHP function Edit on GitHub ✎

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

Resume execution of the generator

Description

Generator::next(): void

Calling Generator::next has the same effect as calling Generator::send with null as argument.

Parameters Parameters

Return Values

Void

Source: language/predefined/generator/next.xml · from the official PHP manual (php/doc-en)