1.1 misho 1: --TEST-- 2: Trying to create a constant on Trait 3: --FILE-- 4: <?php 5: 6: trait foo { 7: const a = 1; 8: } 9: 10: ?> 11: --EXPECTF-- 12: Fatal error: Traits cannot have constants in %s on line %d