public function testClosureStatic() { $f = static function () { }; $rc = new ReflectionClosure($f); $this->assertTrue($rc->isStatic()); }