Home
last modified time | relevance | path

Searched refs:traits (Results 1 – 25 of 62) sorted by relevance

123

/PHP-8.2/ext/standard/tests/class_object/
H A Dget_declared_traits_variation1.phpt2 Test get_declared_traits() function : testing autoloaded traits
5 echo "*** Testing get_declared_traits() : testing autoloaded traits ***\n";
26 *** Testing get_declared_traits() : testing autoloaded traits ***
/PHP-8.2/Zend/tests/traits/
H A Dproperty009.phpt2traits 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
H A Dproperty008.phpt2 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
H A Dinterface_001.phpt2 Using traits to implement interface
H A Dconstant_003.phpt2 Non-final Constants in traits can be overridden in derived classes
H A Dlanguage012.phpt2 Statics should work in traits, too.
H A Dtrait_constant_002.phpt2 __TRAIT__: Use outside of traits.
H A Dbug63911.phpt2 Bug #63911 (Ignore conflicting trait methods originationg from identical sub traits)
H A Dbug60145.phpt18 Fatal error: Cannot use traits inside of interfaces. foo is used in MyInterface in %s on line %d
H A Dlanguage002.phpt2 Use multiple traits.
H A Dabstract_method_2.phpt2 Mutually incompatible methods from traits are fine as long as the final method is compatible
H A Dbug60217a.phpt2 Bug #60217 (Requiring the same method from different traits.)
/PHP-8.2/Zend/tests/
H A Dstringable_trait.phpt25 // The traits themselves should not implement Stringable -- traits cannot implement interfaces.
H A Dbug69174.phpt2 Bug #69174 (leaks when unused inner class use traits precedence)
H A Dbug80055.phpt2 Bug #80055: Abstract trait methods returning "self" cannot be fulfilled by traits
H A Dbug65579.phpt2 Bug #65579 (Using traits with get_class_methods causes segfault)
/PHP-8.2/ext/spl/tests/
H A Dclass_uses_variation.phpt7 echo "--- testing no traits ---\n";
23 --- testing no traits ---
/PHP-8.2/Zend/tests/anon/
H A D009.phpt2 testing traits in anon classes
/PHP-8.2/Zend/tests/traits/bugs/
H A Dmissing-trait.phpt2 Check error message for missing traits
/PHP-8.2/ext/reflection/tests/
H A Dbug78697.phpt2 Bug #78697: ReflectionClass::implementsInterface - inaccurate error message with traits
H A Dreflectionclass_for_traits.phpt2 Tests some parts of ReflectionClass behavior for traits
/PHP-8.2/Zend/tests/readonly_classes/
H A Dgh9285_success.phpt2 Bug GH-9285: PHP 8.2 readonly classes allow inheriting mutable properties from traits - success
H A Dgh9285_error.phpt2 Bug GH-9285: PHP 8.2 readonly classes allow inheriting mutable properties from traits - error
/PHP-8.2/Zend/tests/enum/
H A Dtraits-no-__construct.phpt2 Enum traits no __construct
H A Dtraits-no-forbidden-methods.phpt2 Enum cannot have forbidden methods, even via traits

Completed in 28 milliseconds

123