<?php $arr = [1,2,3]; function a($x){ yield from $x; } foreach(a(a($arr)) as $x){ print_r($x); }
You have javascript disabled. You will not be able to edit any code.