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 'abstract' as constant modifier in %s on line 3 11