<?php declare(strict_types=1); $g = (function(): \Generator { yield 'g'; return; yield 'n'; yield 'e'; })(); foreach ($g as $x) { var_dump($x); }
You have javascript disabled. You will not be able to edit any code.