1--TEST-- 2Typed class constants (type not allowed; callable) 3--FILE-- 4<?php 5class A { 6 public const callable CONST1 = 1; 7} 8?> 9--EXPECTF-- 10Fatal error: Class constant A::CONST1 cannot have type callable in %s on line %d 11