1--TEST--
2By-reference get may be not implemented as by-value
3--FILE--
4<?php
5
6interface I {
7    public $prop { &get; }
8}
9
10class A implements I {
11    public $prop {
12        get => $this->prop;
13    }
14}
15
16?>
17--EXPECTF--
18Fatal error: Declaration of A::$prop::get() must be compatible with & I::$prop::get() in %s on line %d
19