<?php $generator = function () { yield 1; yield 2; yield 3; }; foreach ($generator() as $value) { printf("%d\n", $value); }
You have javascript disabled. You will not be able to edit any code.