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