<?php class x { public function __construct() { $x =& $this; $x = new stdClass; echo 'inside: '; var_dump($this); } } echo 'outside: '; var_dump(new x);
You have javascript disabled. You will not be able to edit any code.