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