1--TEST--
2Cannot use multiple readonly modifiers
3--FILE--
4<?php
5
6class Test {
7    readonly readonly int $prop;
8}
9
10?>
11--EXPECTF--
12Fatal error: Multiple readonly modifiers are not allowed in %s on line %d
13