/PHP-8.2/Zend/tests/ |
H A D | lsb_021.phpt | 34 class C extends B { 38 C::testForward(); 39 C::testNoForward(); 43 C 46 C 49 C 50 C 53 C 56 C
|
H A D | this_in_eval.phpt | 5 class C { 11 $x = new C; 15 object(C)#1 (0) { 17 object(C)#1 (0) {
|
/PHP-8.2/tests/classes/ |
H A D | type_hinting_004.phpt | 46 class C { 64 call_user_func(array('C', 'f1'), 1); 79 call_user_func(array('C', 'f2')); 160 in C::f1 (static); 163 in C::f2 (static); 164 in C::f2 (static); 165 in C::f2 (static); 171 in C::f1 (instance); 174 in C::f2 (instance); 175 in C::f2 (instance); [all …]
|
H A D | constants_basic_003.phpt | 9 public static $c = C::MY_CONST; 11 const cc = C::MY_CONST; 14 class C 16 const MY_CONST = "hello from C"; 26 string(12) "hello from C" 28 string(12) "hello from C"
|
/PHP-8.2/Zend/tests/named_params/ |
H A D | call_user_func_array.phpt | 16 call_user_func_array($test, ['A', 'c' => 'C']); 17 call_user_func_array($test_variadic, ['A', 'c' => 'C']); 24 call_user_func_array($test, ['c' => 'C', 'A']); 34 call_user_func_array($test, ['A', 'c' => 'C']); 35 call_user_func_array($test_variadic, ['A', 'c' => 'C']); 42 call_user_func_array($test, ['c' => 'C', 'A']); 52 a = A, b = b, c = C 57 string(1) "C" 64 a = A, b = b, c = C 69 string(1) "C"
|
/PHP-8.2/tests/lang/ |
H A D | foreachLoopObjects.002.phpt | 6 class C { 39 class D extends C { 87 $myC = new C; 101 $myC = new C; 115 $myC = new C; 118 $myC = new C; 121 $myC = new C; 148 $myC = new C; 323 in C::doForEach 377 in C::doForEach [all …]
|
H A D | foreachLoopObjects.003.phpt | 7 class C { 16 $obj = new C; 24 $obj = new C; 32 $obj = new C; 39 $obj = new C; 53 $obj = new C; 67 $obj = new C; 77 $obj = new C; 92 object(C)#%d (5) { 106 object(C)#%d (5) { [all …]
|
/PHP-8.2/ext/spl/tests/ |
H A D | arrayObject___construct_basic4.phpt | 5 class C { 14 $c = new C; 19 $c = new C; 52 prop=>C::prop.orig 54 string(12) "C::prop.orig" 55 string(12) "C::prop.orig" 72 object(C)#1 (0) { 75 object(C)#1 (0) { 80 prop=>C::prop.orig 100 object(C)#4 (0) { [all …]
|
H A D | arrayObject___construct_basic5.phpt | 5 class C { 14 $c = new C; 19 $c = new C; 52 prop=>C::prop.orig 54 string(12) "C::prop.orig" 55 string(12) "C::prop.orig" 72 object(C)#1 (0) { 75 object(C)#1 (0) { 80 prop=>C::prop.orig 100 object(C)#4 (0) { [all …]
|
H A D | arrayObject___construct_basic2.phpt | 5 class C { 14 $c = new C; 19 $c = new C; 52 prop=>C::prop.orig 55 string(12) "C::prop.orig" 74 object(C)#1 (0) { 77 object(C)#1 (0) { 82 prop=>C::prop.orig 85 string(12) "C::prop.orig" 102 object(C)#4 (0) { [all …]
|
H A D | arrayObject___construct_basic3.phpt | 5 class C { 14 $c = new C; 19 $c = new C; 52 prop=>C::prop.orig 55 string(12) "C::prop.orig" 74 object(C)#1 (0) { 77 object(C)#1 (0) { 82 prop=>C::prop.orig 85 string(12) "C::prop.orig" 102 object(C)#4 (0) { [all …]
|
H A D | arrayObject_exchangeArray_basic3.phpt | 7 class C { 12 $original = new C; 14 $swapIn = new C; 28 $original = new C; 41 $original = new C; 57 object(C)#3 (2) { 64 object(C)#1 (2) { 70 object(C)#3 (2) { 90 object(C)#3 (2) { 97 object(C)#3 (2) { [all …]
|
H A D | arrayObject_magicMethods4.phpt | 5 class C { 35 $obj = new C; 76 object(C)#1 (5) { 83 ["priv":"C":private]=> 93 object(C)#1 (5) { 114 object(C)#1 (5) { 131 object(C)#1 (5) { 150 object(C)#1 (5) { 167 object(C)#1 (5) { 183 object(C)#1 (3) { [all …]
|
H A D | arrayObject_magicMethods5.phpt | 5 class C { 35 $obj = new C; 79 object(C)#1 (4) { 86 ["priv":"C":private]=> 94 object(C)#1 (4) { 114 object(C)#1 (4) { 129 object(C)#1 (4) { 149 object(C)#1 (4) { 164 object(C)#1 (4) { 181 object(C)#1 (4) { [all …]
|
H A D | arrayObject_magicMethods6.phpt | 5 class C { 35 $obj = new C; 76 object(C)#1 (5) { 83 ["priv":"C":private]=> 93 object(C)#1 (5) { 114 object(C)#1 (5) { 131 object(C)#1 (5) { 150 object(C)#1 (5) { 167 object(C)#1 (5) { 183 object(C)#1 (3) { [all …]
|
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionClass_implementsInterface_001.phpt | 13 class C implements I2 {} 48 $rcs['A']->implementsInterface('C', 'C'); 75 Does A implement C? 90 Does B implement C? 99 Does C implement A? 102 Does C implement B? 105 Does C implement C? 108 Does C implement I1? 111 Does C implement I2? 120 Does I1 implement C? [all …]
|
H A D | ReflectionClass_hasConstant_basic.phpt | 8 //New instance of class C - defined below 9 $rc = new ReflectionClass("C"); 11 //Check if C has constant foo 14 //C should not have constant bar 17 Class C {
|
H A D | bug48336.phpt | 12 class C extends B { 16 class D extends C { 41 C => C 42 D => C 43 E => C
|
/PHP-8.2/Zend/tests/constants/final_constants/ |
H A D | final_const9.phpt | 8 const C = 1; 13 const C = 2; 16 class C implements I1, I2 18 const C = 3;
|
/PHP-8.2/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | invalid1.phpt | 8 interface C {} 10 class Test implements B, C {} 13 public function foo(): B&C { 20 public function foo(): A&C { 27 Fatal error: Declaration of FooChild::foo(): A&C must be compatible with Foo::foo(): B&C in %s on l…
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | invalid1.phpt | 8 interface C {} 11 class Test implements B, C {} 14 public function foo(): (B&C)|X { 21 public function foo(): (A&C)|X { 28 Fatal error: Declaration of FooChild::foo(): (A&C)|X must be compatible with Foo::foo(): (B&C)|X in…
|
/PHP-8.2/Zend/tests/type_declarations/variance/ |
H A D | class_order_error.phpt | 10 public function method() : C {} 12 class C extends B { 15 new C; 19 …error: Could not check compatibility between B::method(): C and A::method(): B, because class C is…
|
/PHP-8.2/Zend/tests/prop_const_expr/ |
H A D | class_const.phpt | 10 class C { 17 var_dump(C::A_name); 18 var_dump(C::A_value); 19 var_dump(C::A_name_nullsafe); 20 var_dump(C::A_value_nullsafe);
|
H A D | static_property_initializer.phpt | 10 class C { 17 var_dump(C::$d); 18 var_dump(C::$e); 19 var_dump(C::$f); 20 var_dump(C::$g);
|
/PHP-8.2/ext/standard/tests/class_object/ |
H A D | forward_static_call_001.phpt | 34 class C extends B 36 const NAME = 'C'; 53 C::test(); 55 C::test2(); 57 C::test3(); 79 C 80 C 88 C 91 C
|