3v4l.org

run code in 500+ PHP versions simultaneously
<?php function test1() { yield from ['a']; } function test2() { yield from test1(); } foreach(test2() as $test) { echo $test; }

preferences:
109.79 ms | 1473 KiB | 5 Q