Home
last modified time | relevance | path

Searched refs:trait (Results 26 – 50 of 239) sorted by relevance

12345678910

/PHP-7.4/ext/opcache/tests/
H A Dpreload_trait_multiple_fixup.inc3 trait T1 {
11 trait T2 {}
21 trait T3 {
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_043.phpt2 Trying to assign to a static 'self' typed property on a trait must not fixate the type to the trait
6 trait Test {
44 Cannot write a value to a 'self' typed static property of a trait
45 Cannot write a non-null value to a 'self' typed static property of a trait
/PHP-7.4/Zend/tests/traits/
H A Dbug60165d.phpt2 Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error)
8 trait A {}
10 trait B {
H A Dbug61052.phpt2 Bug #61052 (missing error check in trait 'insteadof' clause)
5 trait T1 {
8 trait T2 {
H A Dlanguage011.phpt7 trait Hello {
13 trait World {
30 …od sayHello has not been applied, because there are collisions with other trait methods on MyClass…
H A Dlanguage014.phpt7 trait Hello {
13 trait World {
30 Fatal error: Trait method hello has not been applied, because there are collisions with other trait
H A Dbug55554e.phpt8 trait TC1 {
14 trait TC2 {
28 …rtCollision has not been applied, because there are collisions with other trait methods on ReportC…
H A Dconflict003.phpt7 trait A {
16 trait B {
31 …d smallTalk has not been applied, because there are collisions with other trait methods on Talker …
H A Dlanguage010.phpt7 trait Hello {
13 trait World {
30 Fatal error: Trait method world has not been applied, because there are collisions with other trait
H A Dproperty001.phpt2 "Potentially" conflicting trait properties do not result in a strict standards notice anymore
7 trait THello1 {
11 trait THello2 {
H A Dbug55214.phpt2 Bug #55214 (Use of __CLASS__ within trait returns trait name not class name)
6 trait ATrait {
27 trait Indirect {
H A Dlanguage001.phpt2 Single Trait with simple trait method
7 trait THello {
H A Dbug55355.phpt2 Bug #55355 (Abstract functions required by a trait are not correctly found when implemented in an a…
6 // A trait that has a abstract function
7 trait ATrait {
H A Derror_008.phpt2 Trying to implement a trait
6 trait abc { }
H A Derror_003.phpt2 Trying to use an interface as trait
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Derror_004.phpt2 Trying to use a class as trait
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Derror_006.phpt2 Trying to use an abstract class as trait
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Derror_005.phpt2 Trying to use a final class as trait
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
/PHP-7.4/Zend/tests/traits/bugs/
H A Dcase-sensitive.phpt7 trait A {
12 trait B {
23 Fatal error: Trait method M1 has not been applied, because there are collisions with other trait me…
/PHP-7.4/Zend/tests/
H A Dbug55086.phpt2 Bug #55086 (Namespace alias does not work inside trait's use block)
7 trait T1 {
11 trait T2 {
H A Dbug65419.phpt2 Bug #65419 (Inside trait, self::class != __CLASS__)
5 trait abc
H A Dspecial_name_error3.phpt2 Cannot use special class name as trait name
6 trait self {}
H A Dtrait_exists_002.phpt8 trait IFoo { }
10 trait ITest { }
H A Dbug55825.phpt2 Bug #55825 (Missing initial value of static locals in trait methods)
5 trait T1 {
/PHP-7.4/Zend/tests/anon/
H A D014.phpt2 anonymous class trait binding
5 trait TaskTrait {

Completed in 91 milliseconds

12345678910