<?php class b { public $v = 23; } class a { public $x; function __get($name) { $this->x = new b; return $this->x; } } $o = new a; var_dump($o->ee);
You have javascript disabled. You will not be able to edit any code.