<?php class A { private $v = 0; public function &__get($name) { return $this->v; } } $a = new A; $a->foo++; var_dump($a);
You have javascript disabled. You will not be able to edit any code.