![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Trying to use an abstract class as trait 3: --FILE-- 4: <?php 5: 6: abstract class abc { 7: } 8: 9: class A { 10: use abc; 11: } 12: 13: ?> 14: --EXPECTF-- 15: Fatal error: A cannot use abc - it is not a trait in %s on line %d