1--TEST--
2GH-10377 (Unable to have an anonymous readonly class) - usage variation: multiple readonly modifiers
3--FILE--
4<?php
5
6$x = new readonly readonly class {};
7
8?>
9--EXPECTF--
10Fatal error: Multiple readonly modifiers are not allowed in %s on line %d
11