1Readonly as class name
2-----
3<?php
4class ReadOnly {}
5-----
6Syntax error, unexpected T_READONLY, expecting T_STRING from 2:7 to 2:14
7array(
8    0: Stmt_Block(
9        stmts: array(
10        )
11    )
12)
13-----
14<?php
15class ReadOnly {}
16-----
17!!version=7.4
18array(
19    0: Stmt_Class(
20        attrGroups: array(
21        )
22        flags: 0
23        name: Identifier(
24            name: ReadOnly
25        )
26        extends: null
27        implements: array(
28        )
29        stmts: array(
30        )
31    )
32)
33