1--TEST--
2Overwritten public property with private asymmetric property
3--FILE--
4<?php
5
6class A {
7	public string $foo;
8}
9
10class B extends A {
11	public private(set) string $foo;
12}
13
14?>
15--EXPECTF--
16Fatal error: Set access level of B::$foo must be omitted (as in class A) in %s on line %d
17