public function testComplexReduce() { $this->assertSame('abcdef', reduce(function ($acc, $value, $key) { return $acc . $key . $value; }, ['a' => 'b', 'c' => 'd', 'e' => 'f'], '')); }