Return to error_004.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / traits |
php 5.4.3+patches
--TEST-- Trying to use a class as trait --FILE-- <?php class abc { } class A { use abc; } ?> --EXPECTF-- Fatal error: A cannot use abc - it is not a trait in %s on line %d