1--TEST--
2Allow calling parent set in property hooks
3--FILE--
4<?php
5
6class A {
7    public int $prop {
8        set {
9            var_dump($value);
10        }
11    }
12}
13
14class B extends A {
15    public int $prop {
16        set {
17            parent::$prop::set($value + 1);
18        }
19    }
20}
21
22$a = new A;
23$a->prop = 41;
24
25$b = new B;
26$b->prop = 41;
27
28?>
29--EXPECT--
30int(41)
31int(42)
32