Searched refs:traits (Results 1 – 25 of 62) sorted by relevance
123
2 Test get_declared_traits() function : testing autoloaded traits5 echo "*** Testing get_declared_traits() : testing autoloaded traits ***\n";26 *** Testing get_declared_traits() : testing autoloaded traits ***
2 …traits needs to have same semantics as with normal inheritance, however, we do add strict warnings…15 // And here, we need to make sure, that the traits behave the same
2 Handling of private fields with traits needs to have same semantics as with normal inheritance.15 // And here, we need to make sure, that the traits behave the same
2 Using traits to implement interface
2 Non-final Constants in traits can be overridden in derived classes
2 Statics should work in traits, too.
2 __TRAIT__: Use outside of traits.
2 Bug #63911 (Ignore conflicting trait methods originationg from identical sub traits)
18 Fatal error: Cannot use traits inside of interfaces. foo is used in MyInterface in %s on line %d
2 Use multiple traits.
2 Mutually incompatible methods from traits are fine as long as the final method is compatible
2 Bug #60217 (Requiring the same method from different traits.)
25 // The traits themselves should not implement Stringable -- traits cannot implement interfaces.
2 Bug #69174 (leaks when unused inner class use traits precedence)
2 Bug #80055: Abstract trait methods returning "self" cannot be fulfilled by traits
2 Bug #65579 (Using traits with get_class_methods causes segfault)
7 echo "--- testing no traits ---\n";23 --- testing no traits ---
2 testing traits in anon classes
2 Check error message for missing traits
2 Bug #78697: ReflectionClass::implementsInterface - inaccurate error message with traits
2 Tests some parts of ReflectionClass behavior for traits
2 Bug GH-9285: PHP 8.2 readonly classes allow inheriting mutable properties from traits - success
2 Bug GH-9285: PHP 8.2 readonly classes allow inheriting mutable properties from traits - error
2 Enum traits no __construct
2 Enum cannot have forbidden methods, even via traits
Completed in 28 milliseconds