1--TEST--
2GH-15140: Asymmetric set type cannot be satisfied by plain property
3--FILE--
4<?php
5
6interface I {
7    public string $prop {
8        set(int|string $value);
9    }
10}
11class C implements I {
12    public string $prop;
13}
14
15?>
16--EXPECTF--
17Fatal error: Set type of C::$prop must be supertype of string|int (as in interface I) in %s on line %d
18