<?php class Foo { private $bar = 0; public function increase() { eval('$this->bar += 1;'); } } $f = new Foo(); $f->increase(); var_dump($f);
You have javascript disabled. You will not be able to edit any code.