Test: /Zend/tests/traits/bug55524.phpt - Version 5.4.1RC1-dev        

Bug #55524 Traits should not be able to extend a class
Submitted: 2011-08-28 08:05:04 Modified: 2011-08-29 15:54:49
From: gron Assigned: gron
Status: Closed Package: Scripting Engine problem
PHP Version: 5.4.0alpha3 OS:

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Fatal error: A trait (Foo) cannot extend a class in %s/bug55524.php on line 5
001- Fatal error: A trait (Foo) cannot extend a class. Traits can only be composed from other traits with the 'use' keyword. Error in %s on line %d