<?php function test() { $test = range(0, 10); foreach ($test as $int) { yield $int; } } foreach (test() as $value) { echo $value . '-'; }
You have javascript disabled. You will not be able to edit any code.