<?php class test { public $test = 'test'; } $a = 'hello'; $t = new test; $t->test =& $a; $a = 'nowe'; var_dump($t); ?>
You have javascript disabled. You will not be able to edit any code.