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