<?php function gen_example() { for($i = 0; $i < 5; $i++) { yield $i; } } while($j = gen_example()) { var_dump($j); }
You have javascript disabled. You will not be able to edit any code.