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