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