Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Generator::keyGenerator::rewind>
^GeneratorLast updated: Mon, 26 Oct 2026

Generator::next

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

Generator::next — Resume execution of the generator

Description

public function Generator::next(): void

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

Parameters

This function has no parameters.

Return Values

No value is returned.


<Generator::keyGenerator::rewind>
^GeneratorLast updated: Mon, 26 Oct 2026