<?php class x { public function method() {} } $o = new x; $r = new ReflectionMethod($o, 'method'); $c = Closure::bind($r->getClosure($o), new stdClass()); var_dump($c);
You have javascript disabled. You will not be able to edit any code.