Return to error_008.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / traits |
1.1 misho 1: --TEST-- 2: Trying to implement a trait 3: --FILE-- 4: <?php 5: 6: trait abc { } 7: 8: class foo implements abc { } 9: 10: ?> 11: --EXPECTF-- 12: Fatal error: foo cannot implement abc - it is not an interface in %s on line %d