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