<?php class Foo { public function bar() { return function() { var_dump($this); }; } } $foo = new Foo; $b = $foo->bar(); $b();
You have javascript disabled. You will not be able to edit any code.