Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/standard/tests/class_object/
H A Dget_declared_traits_variation1.phpt2 Test get_declared_traits() function : testing autoloaded traits
6 * Description: Returns an array of all declared traits.
12 echo "*** Testing get_declared_traits() : testing autoloaded traits ***\n";
33 *** Testing get_declared_traits() : testing autoloaded traits ***
/PHP-7.4/Zend/tests/traits/
H A Dbug55554d.phpt6 // Test mixed constructors from different traits, we are more strict about
9 // here we have a chance to be more strict for the new traits.
29 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
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 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.phpt17 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 Dbug60217a.phpt2 Bug #60217 (Requiring the same method from different traits.)
H A Dflattening002.phpt2 parent:: works like in a method defined without traits.
H A Dno_static_arg_binding.phpt2 Don't statically bind arguments for self:: calls in traits
H A Dinterface_003.phpt2 Testing to implement Serializable interface by traits
H A Dbug60153.phpt2 Bug #60153 (Interface method prototypes not enforced when implementd via traits.)
/PHP-7.4/ext/spl/tests/
H A Dclass_uses_variation.phpt6 * Description: Return all traits used by a class
13 echo "--- testing no traits ---\n";
30 --- testing no traits ---
H A Dclass_uses_basic2.phpt6 * Description: Return all traits used by a class
22 /** There is no semantics for traits in the inheritance chain.
/PHP-7.4/Zend/tests/anon/
H A D009.phpt2 testing traits in anon classes
/PHP-7.4/Zend/tests/traits/bugs/
H A Dmissing-trait.phpt2 Check error message for missing traits
/PHP-7.4/Zend/tests/
H A Dbug69174.phpt2 Bug #69174 (leaks when unused inner class use traits precedence)
H A Dbug65579.phpt2 Bug #65579 (Using traits with get_class_methods causes segfault)
/PHP-7.4/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-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_059.phpt2 Nullable typed properties in traits
/PHP-7.4/ext/opcache/tests/
H A Dpreload_003.phpt2 Preloading classes linked with traits

Completed in 18 milliseconds

123