$accumulator, null]; yield [3, [1, 2, 3], fn ($accumulator, $k) => $accumulator + $k, 0]; yield [3, Iter\to_iterator([1, 2, 3]), fn ($accumulator, $k) => $accumulator + $k, 0]; } }