<?php function foo() { return $this; } $closure = (new ReflectionFunction(function () { return $this; }))->getClosure()->bindTo(new stdClass(), null); var_dump($closure);
You have javascript disabled. You will not be able to edit any code.