projects
/
m6w6
/
ext-propro
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
refactor for PHP-7.2
[m6w6/ext-propro]
/
tests
/
002.phpt
diff --git
a/tests/002.phpt
b/tests/002.phpt
index 95c9c02088dc53330f37570dc5789d41e9d1dbdd..c3579c7c0f52ee5a994c189d06b12acd85f1f54f 100644
(file)
--- a/
tests/002.phpt
+++ b/
tests/002.phpt
@@
-10,7
+10,9
@@
echo "Test\n";
class c {
private $storage = array();
function __get($p) {
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;
}
function __set($p, $v) {
$this->storage[$p] = $v;