1--TEST--
2Overwritten protected asymmetric property with private asymmetric property
3--FILE--
4<?php
5
6class A {
7	public protected(set) 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 protected(set) (as in class A) or weaker in %s on line %d
17