<?php function foo1() { yield 1; yield 2; yield 3; yield 4; } function foo2() { yield from foo1(); } foreach(foo2() as $foo) { var_dump($foo); }
You have javascript disabled. You will not be able to edit any code.