Searched refs:T2 (Results 1 – 25 of 48) sorted by relevance
12
/PHP-8.2/ext/reflection/tests/ |
H A D | bug71018.phpt | 19 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 D | traits004.phpt | 6 trait T2 { } 10 class C3 { use T1; use T2; } 45 string(2) "T2" 53 ["T2"]=> 56 string(2) "T2"
|
/PHP-8.2/ext/opcache/tests/opt/ |
H A D | sccp_006.phpt | 31 0001 T2 = INIT_ARRAY 3 int(1) string("a") 32 0002 T2 = ADD_ARRAY_ELEMENT int(2) string("a") 33 0003 T2 = ADD_ARRAY_ELEMENT CV0($x) string("a") 34 0004 CV1($a) = QM_ASSIGN T2 35 0005 T2 = FETCH_DIM_R CV1($a) string("a") 36 0006 ECHO T2
|
H A D | sccp_024.phpt | 38 0002 T2 = INSTANCEOF CV0($obj) string("A") 39 0003 ECHO T2 40 0004 T2 = INSTANCEOF CV0($obj) string("self") 41 0005 ECHO T2 43 0007 T2 = INSTANCEOF CV0($obj) V3 44 0008 ECHO T2
|
H A D | prop_types.phpt | 65 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.2/Zend/tests/traits/ |
H A D | bug61998.phpt | 35 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 D | language015.phpt | 8 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 D | language016.phpt | 8 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 D | language017.phpt | 8 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 D | bug61052.phpt | 8 trait T2 { 9 function foo(){ echo "T2\n"; } 12 use T1, T2 {
|
H A D | bug74922b.phpt | 8 trait T2 {public $var = Bug74922\FOO;} 9 class Baz {use Bug74922\T1, T2;}
|
H A D | bug74922c.phpt | 9 trait T2 { 13 use T, T2;
|
H A D | abstract_method_2.phpt | 9 trait T2 { 14 use T1, T2;
|
H A D | bug75607a.phpt | 11 trait T2 28 use T2;
|
H A D | bug60217a.phpt | 10 trait T2 { 15 use T1, T2;
|
/PHP-8.2/Zend/tests/ |
H A D | bug62069.phpt | 12 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 D | bug62069_2.phpt | 12 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 D | bug69174.phpt | 7 use T1, T2 { 8 T1::foo insteadof T2; 9 T1::bar insteadof T2;
|
H A D | bug55086.phpt | 11 trait T2 { 18 use N1\T2; 20 use T1, T2 { 21 T1::hello insteadof T2;
|
H A D | stringable_trait.phpt | 11 trait T2 { 19 use T2; 28 $rc = new ReflectionClass(T2::class);
|
H A D | bug64239_1.phpt | 6 use T2 { t2method as Bmethod; } 12 trait T2 {
|
/PHP-8.2/Zend/tests/type_declarations/ |
H A D | typed_properties_085.phpt | 9 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.2/Zend/tests/readonly_props/ |
H A D | readonly_trait_mismatch.phpt | 9 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 D | readonly_trait_match.phpt | 9 trait T2 { 13 use T1, T2;
|
/PHP-8.2/tests/lang/ |
H A D | bug30862.phpt | 14 class T2 { 17 print_r(T2::$a);
|
Completed in 18 milliseconds
12