<?php function gen() { for ($i = 0; $i < 5; $i++) yield $i; } foreach (gen() as $number) echo $number;
You have javascript disabled. You will not be able to edit any code.