Searched refs:trait (Results 51 – 75 of 352) sorted by relevance
12345678910>>...15
2 Referencing trait constants directly on calling \defined() returns false6 trait TestTrait {
2 Bug #55355 (Abstract functions required by a trait are not correctly found when implemented in an a…6 // A trait that has a abstract function7 trait ATrait {
2 Single Trait with simple trait method7 trait THello {
2 Trying to implement a trait6 trait abc { }
2 The same name constant of a trait used in a class that inherits a constant defined in a parent can …6 trait TestTrait1 {18 trait TestTrait2 {
2 Abstract method in trait using "self"6 trait T {
2 Trying to use an interface as trait15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
2 Trying to use a class as trait15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
5 trait T1 {15 Fatal error: Cannot use "abstract" as method modifier in trait alias in %s on line %d
2 Trying to use a final class as trait15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
2 Trying to use an abstract class as trait15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
2 anonymous class trait binding5 trait TaskTrait {
54 zend_class_entry *trait; in spl_add_traits() local57 trait = zend_fetch_class_by_name(pce->trait_names[num_traits].name, in spl_add_traits()59 ZEND_ASSERT(trait); in spl_add_traits()60 spl_add_class_name(list, trait, allow, ce_flags); in spl_add_traits()
2 #[\Override]: Declared abstract trait method.6 trait T {
2 #[\Override]: On used trait with interface method.6 trait T {
2 Constructor promotion can be used inside a trait6 trait Test {
2 Bug #65419 (Inside trait, self::class != __CLASS__)5 trait abc
2 Cannot use special class name as trait name6 trait self {}
8 trait IFoo { }10 trait ITest { }
2 GH-12468: Double-free of doc_comment when overriding static property via trait5 trait T {
2 Bug #78787: Segfault with trait overriding inherited private shadow property6 trait T {
2 __toString() from trait with invalid return type6 trait T {
6 readonly trait Foo12 Parse error: syntax error, unexpected token "trait", expecting "abstract" or "final" or "readonly" …
5 trait MyTrait {7 * trait comment
2 Fully qualified classes in trait return types8 trait Fooable {
Completed in 44 milliseconds