X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-propro;a=blobdiff_plain;f=tests%2F002.phpt;fp=tests%2F002.phpt;h=c3579c7c0f52ee5a994c189d06b12acd85f1f54f;hp=95c9c02088dc53330f37570dc5789d41e9d1dbdd;hb=89f905f6096ad4216c1cfcba373a7ea65b24de92;hpb=97c5fbbf92372bfacc96b3ebbee711eb8fdb96fc diff --git a/tests/002.phpt b/tests/002.phpt index 95c9c02..c3579c7 100644 --- a/tests/002.phpt +++ b/tests/002.phpt @@ -10,7 +10,9 @@ echo "Test\n"; class c { private $storage = array(); function __get($p) { - return new php\PropertyProxy($this->storage, $p); + $pp = new php\PropertyProxy(null, $p, + new php\PropertyProxy($this, "storage")); + return $pp; } function __set($p, $v) { $this->storage[$p] = $v;