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