<?php function generator() { yield 1; yield 2; return 3; } foreach(generator() as $value) { var_dump($value); }
You have javascript disabled. You will not be able to edit any code.