3v4l.org

run code in 500+ PHP versions simultaneously
<?php const from = ['yield from']; $a = fn () => yield yield from from; foreach($a() as $b) { print $b; }
Output for 8.2.31, 8.3.0 - 8.3.32, 8.4.1 - 8.4.23, 8.5.0 - 8.5.8
yield from

preferences:
58.74 ms | 746 KiB | 4 Q