<?php class foo { function bar() { $this->a = 5; } function foo() { unset($this->a); } } $f = new foo(); $f->bar(); var_dump($f); $f->foo(); var_dump($f);
You have javascript disabled. You will not be able to edit any code.