$k]; yield [[1, 2 => 2, 4 => 3], [1, 2, 3], static fn (int $k): int => $k * 2]; yield [['0' => 1, '1' => 2, '2' => 3], [1, 2, 3], static fn (int $k): string => (string) $k]; yield [[], [], static fn (int $k): string => (string) $k]; yield [[], Iter\Iterator::create([]), static fn (int $k): string => (string) $k]; yield [['0' => 1, '1' => 2], Iter\Iterator::create([1, 2]), static fn (int $k): string => (string) $k]; } }