<?php class T { public function __get($name) { return 4; } public function __set($name,$val) {} } $t = new T(); $p = $t->h = 5; var_dump($p);
You have javascript disabled. You will not be able to edit any code.