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