Home
last modified time | relevance | path

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

123

/PHP-5.5/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-5.5/Zend/tests/traits/
H A Dproperty009.phpt2traits needs to have same semantics as with normal inheritance, however, we do add strict warnings…
16 // And here, we need to make sure, that the traits behave the same
45 …ompatible, to improve maintainability consider using accessor methods in traits instead. Class was…
47 …ompatible, to improve maintainability consider using accessor methods in traits instead. Class was…
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.
31 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
H A Dproperty008.phpt2 Handling of private fields with traits needs to have same semantics as with normal inheritance.
16 // And here, we need to make sure, that the traits behave the same
H A Dproperty001.phpt2 …operties should result in a strict notice. Property use is discorage for traits that are supposed …
39 …ompatible, to improve maintainability consider using accessor methods in traits instead. Class was…
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 Dproperty007.phpt34 …ompatible, to improve maintainability consider using accessor methods in traits instead. Class was…
37 …ompatible, to improve maintainability consider using accessor methods in traits instead. Class was…
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 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.)
H A Dbug55524.phpt15 Fatal error: A trait (Foo) cannot extend a class. Traits can only be composed from other traits wit…
H A Dconflict001.phpt2 Method conflict in traits
/PHP-5.5/ext/spl/tests/
H A Dclass_uses_variation.phpt6 * Description: Return all traits used by a class
13 echo "--- testing no traits ---\n";
31 --- 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-5.5/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)
H A Dbug60536_005.phpt34 …ompatible, to improve maintainability consider using accessor methods in traits instead. Class was…
37 …ompatible, to improve maintainability consider using accessor methods in traits instead. Class was…
H A Dbug62907.phpt2 Bug #62907 (Double free when use traits)
H A Dbug63305.phpt2 Bug #63305 (zend_mm_heap corrupted with traits)
/PHP-5.5/Zend/tests/traits/bugs/
H A Dmissing-trait.phpt2 Check error message for missing traits

Completed in 43 milliseconds

123