1--TEST--
2The readonly class modifier can only be added once
3--FILE--
4<?php
5
6readonly readonly class Foo
7{
8}
9
10?>
11--EXPECTF--
12Fatal error: Multiple readonly modifiers are not allowed in %s on line %d
13