<?php class A { public $prop = 42; public function __set($x, $y) { echo "SET\n"; $this->$x = $y; } } $a = new A(); var_dump($a); unset($a->prop); echo "Wait for it ... "; $a->prop = 42;
You have javascript disabled. You will not be able to edit any code.