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