1--TEST--
2Asymmetric visibility private(get) protected(set) not allowed
3--FILE--
4<?php
5
6class Foo {
7    private protected(set) string $bar;
8}
9
10?>
11--EXPECTF--
12Fatal error: Visibility of property Foo::$bar must not be weaker than set visibility in %s on line %d
13