1--TEST--
2Override attribute is satisfied by virtual hook
3--FILE--
4<?php
5
6class A {
7    public $prop {
8        get => 42;
9    }
10}
11
12class B extends A {
13    public $prop {
14        #[Override]
15        get => parent::$prop::get();
16    }
17}
18
19?>
20===DONE===
21--EXPECT--
22===DONE===
23