1--TEST--
2Hooks are inherited to plain property
3--FILE--
4<?php
5
6class A {
7    public $prop {
8        get { echo __METHOD__, "\n"; return 42; }
9        set { echo __METHOD__, "\n"; }
10    }
11}
12
13class B extends A {
14    public $prop;
15}
16
17$a = new A();
18$a->prop = 43;
19var_dump($a->prop);
20
21$b = new B();
22$b->prop = 43;
23var_dump($b->prop);
24
25?>
26--EXPECT--
27A::$prop::set
28A::$prop::get
29int(42)
30A::$prop::set
31A::$prop::get
32int(42)
33