Home
last modified time | relevance | path

Searched refs:T1 (Results 1 – 25 of 48) sorted by relevance

12

/PHP-8.0/ext/reflection/tests/
H A Dtraits004.phpt5 trait T1 { }
9 class C2 { use T1; }
10 class C3 { use T1; use T2; }
30 string(2) "T1"
33 ["T1"]=>
36 string(2) "T1"
43 string(2) "T1"
48 ["T1"]=>
51 string(2) "T1"
H A Dtraits005.phpt5 trait T1 { function m1() { } function m2() { } }
8 class C2 { use T1; }
9 class C3 { use T1 { m1 as a1; } }
10 class C4 { use T1 { m1 as a1; m2 as a2; } }
31 string(6) "T1::m1"
37 string(6) "T1::m1"
39 string(6) "T1::m2"
H A Dbug71018.phpt5 class T1 {
19 class T2 extends T1 {}
21 $Prop1 = new ReflectionProperty(T1::class, 'data');
26 $Prop1->setValue(\T1::class, "world");
33 T1::$data = "world";
/PHP-8.0/Zend/tests/traits/
H A Dbug61052.phpt5 trait T1 {
6 function foo(){ echo "T1\n"; }
12 use T1, T2 {
13 T1::foo insteadof T1;
19 Fatal error: Inconsistent insteadof definition. The method foo is to be used from T1, but T1 is als…
H A Dbug61998.phpt6 use T1 {
15 trait T1 {
17 echo "From T1\n";
31 use T1 {
50 $f->newFunc(); //from T1
54 $b->newFunc(); //from T1
62 From T1
64 From T1
H A Dlanguage015.phpt5 trait T1 {
6 function foo() {echo "T1\n";}
12 use T1 {
13 T2::foo insteadof T1;
H A Dlanguage016.phpt5 trait T1 {
6 function foo() {echo "T1\n";}
12 use T1 {
13 T1::foo insteadof T2;
H A Dlanguage018.phpt5 trait T1 {
9 use T1 {
10 T1::foo as abstract;
H A Dlanguage019.phpt5 trait T1 {
9 use T1 {
10 T1::foo as final;
H A Dbug76700.phpt5 trait T1
12 use T1 {
19 use T1;
H A Dlanguage017.phpt5 trait T1 {
6 function foo() {echo "T1\n";}
12 use T1 {
H A Dbug75607.phpt6 trait T1
18 use T1;
H A Dbug75607a.phpt6 trait T1
18 use T1;
H A Dabstract_method_2.phpt6 trait T1 {
14 use T1, T2;
/PHP-8.0/ext/opcache/tests/opt/
H A Dnullsafe_001.phpt55 0002 T1 = JMP_NULL CV0($obj) 0004
56 0003 T1 = FETCH_OBJ_R CV0($obj) string("foo")
57 0004 SEND_VAL T1 1
60 0007 T1 = JMP_NULL CV0($obj) 0009
61 0008 T1 = ISSET_ISEMPTY_PROP_OBJ (isset) CV0($obj) string("foo")
62 0009 SEND_VAL T1 1
65 0012 T1 = JMP_NULL CV0($obj) 0014
66 0013 T1 = ISSET_ISEMPTY_PROP_OBJ (empty) CV0($obj) string("foo")
67 0014 SEND_VAL T1 1
H A Dsccp_016.phpt20 0000 T1 = ISSET_ISEMPTY_CV (isset) CV0($undef)
21 0001 T1 = JMPNZ_EX T1 0003
22 0002 T1 = QM_ASSIGN bool(true)
23 0003 RETURN T1
H A Dprop_types.phpt63 0002 #2.T1 [bool] = FETCH_OBJ_R #1.CV0($test) [object (instanceof Test)] string("public")
64 0003 SEND_VAL #2.T1 [bool] 1
83 0003 #1.T1 [long] = FETCH_OBJ_R THIS string("protected")
84 0004 SEND_VAL #1.T1 [long] 2
101 0002 #2.T1 [bool] = FETCH_OBJ_R #1.CV0($test2) [object (instanceof Test2)] string("public")
102 0003 SEND_VAL #2.T1 [bool] 1
121 0003 #1.T1 [long] = FETCH_OBJ_R THIS string("protected")
122 0004 SEND_VAL #1.T1 [long] 2
/PHP-8.0/Zend/tests/
H A Dbug55086.phpt7 trait T1 {
17 use N1\T1;
20 use T1, T2 {
21 T1::hello insteadof T2;
22 T1::hello as foo;
H A Dbug62069.phpt6 trait T1 {
8 echo "From T1\n";
22 use T1, T2 {
32 Fatal error: An alias was defined for method func(), which exists in both T1 and T2. Use T1::func o…
H A Dbug62069_2.phpt6 trait T1 {
8 echo "From T1\n";
22 use T1 {
35 Fatal error: An alias was defined for method func(), which exists in both T1 and T2. Use T1::func o…
H A Dbug69174.phpt7 use T1, T2 {
8 T1::foo insteadof T2;
9 T1::bar insteadof T2;
H A Dbug55825.phpt5 trait T1 {
11 class C { use T1; }
/PHP-8.0/Zend/tests/type_declarations/
H A Dtyped_properties_085.phpt6 trait T1 {
13 use T1, T2;
17 Fatal error: T1 and T2 define the same property ($prop) in the composition of C. However, the defin…
/PHP-8.0/ext/opcache/tests/
H A Dpreload.inc26 trait T1 {
32 use T1;
49 use T1 {
50 T1::foo as bar;
/PHP-8.0/Zend/tests/attributes/
H A D011_inheritance.phpt38 trait T1
46 use T1;
51 use T1;
56 $ref = new \ReflectionClass(T1::class);

Completed in 29 milliseconds

12