<?php function gen($induced){ yield $induced ? "induced" : "not induced"; if(!$induced) yield from gen(true); } $generator = gen(false); var_dump(iterator_to_array($generator, FALSE));
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`