<?php class C { function f() { return new ReflectionFunction(function() {}); } } $c = new C; $r = $c->f(); var_dump($r->isClosure()); var_dump($r->getClosureScopeClass()->getName());
You have javascript disabled. You will not be able to edit any code.