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