Home
last modified time | relevance | path

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

123

/PHP-8.3/ext/reflection/tests/
H A Dtraits004.phpt5 trait T1 { }
9 class C2 { use T1; }
10 class C3 { use T1; use T2; }
31 string(2) "T1"
34 ["T1"]=>
37 string(2) "T1"
44 string(2) "T1"
49 ["T1"]=>
52 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; } }
32 string(6) "T1::m1"
38 string(6) "T1::m1"
40 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");
44 T1::$data = "world";
/PHP-8.3/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 Dlanguage020.phpt5 trait T1 {
11 use T1 {
12 T1::foo as final;
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;
/PHP-8.3/ext/opcache/tests/opt/
H A Dnullsafe_001.phpt56 0002 T1 = JMP_NULL CV0($obj) 0004
57 0003 T1 = FETCH_OBJ_R CV0($obj) string("foo")
58 0004 SEND_VAL T1 1
61 0007 T1 = JMP_NULL CV0($obj) 0009
62 0008 T1 = ISSET_ISEMPTY_PROP_OBJ (isset) CV0($obj) string("foo")
63 0009 SEND_VAL T1 1
66 0012 T1 = JMP_NULL CV0($obj) 0014
67 0013 T1 = ISSET_ISEMPTY_PROP_OBJ (empty) CV0($obj) string("foo")
68 0014 SEND_VAL T1 1
H A Dsccp_016.phpt21 0000 T1 = ISSET_ISEMPTY_CV (isset) CV0($undef)
22 0001 T1 = JMPNZ_EX T1 0003
23 0002 T1 = QM_ASSIGN bool(true)
24 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
H A Dgh11245_2.phpt28 0000 T1 = PRE_INC_STATIC_PROP string("prop") string("X")
31 0003 FREE T1
33 0005 FREE T1
/PHP-8.3/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;
/PHP-8.3/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.3/Zend/tests/readonly_props/
H A Dreadonly_trait_mismatch.phpt6 trait T1 {
13 use T1, T2;
18 Fatal error: T1 and T2 define the same property ($prop) in the composition of C. However, the defin…
H A Dreadonly_trait_match.phpt6 trait T1 {
13 use T1, T2;
/PHP-8.3/ext/opcache/tests/
H A Dpreload.inc26 trait T1 {
35 use T1;
52 use T1 {
53 T1::foo as bar;

Completed in 21 milliseconds

123