1--TEST--
2$this->prop refers to backing store from either hook
3--FILE--
4<?php
5
6class Test {
7    public $prop {
8        get {
9            echo "get\n";
10            $this->prop = 'prop';
11        }
12        set {
13            echo "set\n";
14            var_dump($this->prop);
15        }
16    }
17}
18
19$test = new Test;
20$test->prop;
21$test->prop = 42;
22
23?>
24--EXPECT--
25get
26set
27string(4) "prop"
28