<?php class Test { public $foo = 5; public function &test() { return $this->foo; } } $test = new Test(); $var = $test->test(); var_dump($var);
You have javascript disabled. You will not be able to edit any code.