<?php class test { protected $foo = 1; public function update(){ $this->foo+=10; } } $className = new test(); var_dump( $className ); $className->foo=100; var_dump( $className );
You have javascript disabled. You will not be able to edit any code.