Home
last modified time | relevance | path

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

12

/PHP-8.1/ext/reflection/tests/
H A Dbug71018.phpt19 class T2 extends T1 {}
27 $Prop2->setValue(\T2::class, 'hello');
28 var_dump("T2::self = " . T2::getDataBySelf());
29 var_dump("T2::static = " . T2::getDataByStatic());
34 T2::$data = 'hello';
36 var_dump("T2::self = " . T2::getDataBySelf());
37 var_dump("T2::static = " . T2::getDataByStatic());
40 string(16) "T2::self = hello"
41 string(18) "T2::static = hello"
42 string(16) "T2::self = hello"
[all …]
H A Dtraits004.phpt6 trait T2 { }
10 class C3 { use T1; use T2; }
45 string(2) "T2"
53 ["T2"]=>
56 string(2) "T2"
/PHP-8.1/ext/opcache/tests/opt/
H A Dsccp_006.phpt30 0001 T2 = INIT_ARRAY 3 int(1) string("a")
31 0002 T2 = ADD_ARRAY_ELEMENT int(2) string("a")
32 0003 T2 = ADD_ARRAY_ELEMENT CV0($x) string("a")
33 0004 CV1($a) = QM_ASSIGN T2
34 0005 T2 = FETCH_DIM_R CV1($a) string("a")
35 0006 ECHO T2
H A Dsccp_024.phpt37 0002 T2 = INSTANCEOF CV0($obj) string("A")
38 0003 ECHO T2
39 0004 T2 = INSTANCEOF CV0($obj) string("self")
40 0005 ECHO T2
42 0007 T2 = INSTANCEOF CV0($obj) V3
43 0008 ECHO T2
H A Dprop_types.phpt65 0004 #3.T2 [any] = FETCH_OBJ_R #1.CV0($test) [object (instanceof Test)] string("protected")
66 0005 SEND_VAL #3.T2 [any] 2
85 0005 #2.T2 [double] = FETCH_OBJ_R THIS string("private")
86 0006 SEND_VAL #2.T2 [double] 3
103 0004 #3.T2 [long] = FETCH_OBJ_R #1.CV0($test2) [object (instanceof Test2)] string("protected")
104 0005 SEND_VAL #3.T2 [long] 2
123 0005 #2.T2 [array of [any, ref]] = FETCH_OBJ_R THIS string("private")
124 0006 SEND_VAL #2.T2 [array of [any, ref]] 3
/PHP-8.1/Zend/tests/traits/
H A Dbug61998.phpt35 use T2 {
42 trait T2 {
44 echo "From T2\n";
57 $b->newFunc2(); //from T2
58 $b->newFunc3(); //from T2
67 From T2
68 From T2
H A Dlanguage017.phpt8 trait T2 {
9 function foo() {echo "T2\n";}
13 T2::foo as private;
18 Fatal error: Required Trait T2 wasn't added to C in %slanguage017.php on line %d
H A Dlanguage015.phpt8 trait T2 {
9 function foo() {echo "T2\n";}
13 T2::foo insteadof T1;
18 Fatal error: Required Trait T2 wasn't added to C in %slanguage015.php on line %d
H A Dlanguage016.phpt8 trait T2 {
9 function foo() {echo "T2\n";}
13 T1::foo insteadof T2;
18 Fatal error: Required Trait T2 wasn't added to C in %slanguage016.php on line %d
H A Dbug61052.phpt8 trait T2 {
9 function foo(){ echo "T2\n"; }
12 use T1, T2 {
H A Dbug74922b.phpt8 trait T2 {public $var = Bug74922\FOO;}
9 class Baz {use Bug74922\T1, T2;}
H A Dbug74922c.phpt9 trait T2 {
13 use T, T2;
H A Dabstract_method_2.phpt9 trait T2 {
14 use T1, T2;
H A Dbug75607a.phpt11 trait T2
28 use T2;
H A Dbug60217a.phpt10 trait T2 {
15 use T1, T2;
/PHP-8.1/Zend/tests/
H A Dbug62069.phpt12 trait T2 {
14 echo "From T2\n";
22 use T1, T2 {
32 …alias was defined for method func(), which exists in both T1 and T2. Use T1::func or T2::func to r…
H A Dbug62069_2.phpt12 trait T2 {
14 echo "From T2\n";
25 use T2 {
35 …alias was defined for method func(), which exists in both T1 and T2. Use T1::func or T2::func to r…
H A Dbug69174.phpt7 use T1, T2 {
8 T1::foo insteadof T2;
9 T1::bar insteadof T2;
H A Dbug55086.phpt11 trait T2 {
18 use N1\T2;
20 use T1, T2 {
21 T1::hello insteadof T2;
H A Dstringable_trait.phpt11 trait T2 {
19 use T2;
28 $rc = new ReflectionClass(T2::class);
H A Dbug64239_1.phpt6 use T2 { t2method as Bmethod; }
12 trait T2 {
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_085.phpt9 trait T2 {
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.1/Zend/tests/readonly_props/
H A Dreadonly_trait_mismatch.phpt9 trait T2 {
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.phpt9 trait T2 {
13 use T1, T2;
/PHP-8.1/tests/lang/
H A Dbug30862.phpt14 class T2 {
17 print_r(T2::$a);

Completed in 65 milliseconds

12