1--TEST--
2Enums cannot be readonly
3--FILE--
4<?php
5
6readonly enum Foo
7{
8}
9
10?>
11--EXPECTF--
12Parse error: syntax error, unexpected token "enum", expecting "abstract" or "final" or "readonly" or "class" in %s on line %d
13