public function testZipKeyValue() { $zipped = zipKeyValue(range(5, 0, -1), range(0, 5)); $this->assertSame([5 => 0, 4 => 1, 3 => 2, 2 => 3, 1 => 4, 0 => 5], toArrayWithKeys($zipped)); }