1--TEST--
2public(set) is allowed on non-readonly
3--FILE--
4<?php
5
6class A {
7    public public(set) int $prop;
8}
9
10?>
11===DONE===
12--EXPECT--
13===DONE===
14