1 # void php\PropertyProxy::__construct(mixed &$object, string $member[, php\PropertyProxy $parent = NLL])
3 Create a new property proxy for the property $member of $object.
7 * mixed reference &$object
8 The storage from which to reference the property.
10 The name of the property to reference.
11 * php\PropertyProxy $parent = NULL
12 Any parent property proxy.
17 private $storage = array();
19 return new php\PropertyProxy($this->storage, $p);
21 function __set($p, $v) {
22 $this->storage[$p] = $v;
34 $c->data["bar"][] = 123;
35 $c->data["bar"][] = 456;
38 unset($c->data["bar"][0]);
45 ["storage":"c":private]=>
55 ["storage":"c":private]=>
78 ["storage":"c":private]=>