<?php class Foo { private $bar = 'baz'; } $foo = new Foo(); $r = new ReflectionProperty('Foo', 'bar'); $r->setAccessible(true); $r->setValue($foo, 'tab'); var_dump($foo);
You have javascript disabled. You will not be able to edit any code.