1.1 misho 1: --TEST-- 2: Trying to extend a trait 3: --FILE-- 4: <?php 5: 6: trait abc { } 7: 8: class foo extends abc { } 9: 10: ?> 11: --EXPECTF-- 12: Fatal error: Class foo cannot extend from trait abc in %s on line %d