<?php class A { function __get($n) { $this->{$n} = 123; return 1; } function __set($n, $v) { var_dump($n, $v); } } $a = new A(); echo $a->fo;
You have javascript disabled. You will not be able to edit any code.