public function testUnapply() { $f = P::unapply('json_encode'); $this->assertEquals('[1,"3",2,2,{"a":"b"}]', $f(1, "3", 1 + 1, 2, ["a" => "b"])); }