<?php class A { public function e(){ $a = function(){ var_dump($this); echo('OK'); }; $a; } } $x = new A; $x->e();
You have javascript disabled. You will not be able to edit any code.