Home
last modified time | relevance | path

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

12

/PHP-7.4/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; }
44 string(2) "T2"
52 ["T2"]=>
55 string(2) "T2"
H A Dbug64239.phpt6 use T2 { t2method as Bmethod; }
8 trait T2 {
/PHP-7.4/ext/opcache/tests/opt/
H A Dsccp_006.phpt28 L1 (3): T2 = INIT_ARRAY 3 int(1) string("a")
29 L2 (3): T2 = ADD_ARRAY_ELEMENT int(2) string("a")
30 L3 (3): T2 = ADD_ARRAY_ELEMENT CV0($x) string("a")
31 L4 (3): CV1($a) = QM_ASSIGN T2
32 L5 (4): T2 = FETCH_DIM_R CV1($a) string("a")
33 L6 (4): ECHO T2
H A Dsccp_024.phpt35 L2 (7): T2 = INSTANCEOF CV0($obj) string("A")
36 L3 (7): ECHO T2
37 L4 (8): T2 = INSTANCEOF CV0($obj) string("self")
38 L5 (8): ECHO T2
40 L7 (9): T2 = INSTANCEOF CV0($obj) V3
41 L8 (9): ECHO T2
/PHP-7.4/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
66 From T2
67 From T2
H A Dlanguage015.phpt8 trait T2 {
9 function foo() {echo "T2\n";}
13 T2::foo insteadof T1;
17 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;
17 Fatal error: Required Trait T2 wasn't added to C in %slanguage016.php on line %d
H A Dlanguage017.phpt8 trait T2 {
9 function foo() {echo "T2\n";}
13 T2::foo as private;
17 Fatal error: Required Trait T2 wasn't added to C in %slanguage017.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 Dbug75607a.phpt11 trait T2
28 use T2;
H A Dbug60217a.phpt10 trait T2 {
15 use T1, T2;
H A Dbug76700.phpt10 trait T2
24 use T2;
H A Dflattening001.phpt13 trait T2 {
21 use T2;
/PHP-7.4/Zend/tests/
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 Dbug64239_1.phpt6 use T2 { t2method as Bmethod; }
12 trait T2 {
H A Dbug70156.phpt12 trait T2 {
23 use T2 {
H A Dbug64239_4.phpt6 use T2 { t2method as Bmethod; }
15 trait T2 {
H A Dbug64239_3.phpt6 use T2 { t2method as Bmethod; }
15 trait T2 {
/PHP-7.4/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-7.4/tests/lang/
H A Dbug30862.phpt14 class T2 {
17 print_r(T2::$a);
/PHP-7.4/ext/opcache/tests/
H A Dpreload_trait_multiple_fixup.inc11 trait T2 {}
18 use T2;

Completed in 29 milliseconds

12