1--TEST--
2Static constants are not allowed
3--FILE--
4<?php
5class A {
6    static const X = 1;
7}
8?>
9--EXPECTF--
10Fatal error: Cannot use 'static' as constant modifier in %s on line 3
11