Home
last modified time | relevance | path

Searched refs:C (Results 51 – 75 of 973) sorted by relevance

12345678910>>...39

/PHP-8.2/Zend/tests/
H A Dlsb_021.phpt34 class C extends B {
38 C::testForward();
39 C::testNoForward();
43 C
46 C
49 C
50 C
53 C
56 C
H A Dthis_in_eval.phpt5 class C {
11 $x = new C;
15 object(C)#1 (0) {
17 object(C)#1 (0) {
/PHP-8.2/tests/classes/
H A Dtype_hinting_004.phpt46 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 Dconstants_basic_003.phpt9 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 Dcall_user_func_array.phpt16 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 DforeachLoopObjects.002.phpt6 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 DforeachLoopObjects.003.phpt7 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 DarrayObject___construct_basic4.phpt5 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 DarrayObject___construct_basic5.phpt5 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 DarrayObject___construct_basic2.phpt5 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 DarrayObject___construct_basic3.phpt5 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 DarrayObject_exchangeArray_basic3.phpt7 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 DarrayObject_magicMethods4.phpt5 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 DarrayObject_magicMethods5.phpt5 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 DarrayObject_magicMethods6.phpt5 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 DReflectionClass_implementsInterface_001.phpt13 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 DReflectionClass_hasConstant_basic.phpt8 //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 Dbug48336.phpt12 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 Dfinal_const9.phpt8 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 Dinvalid1.phpt8 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 Dinvalid1.phpt8 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 Dclass_order_error.phpt10 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 Dclass_const.phpt10 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 Dstatic_property_initializer.phpt10 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 Dforward_static_call_001.phpt34 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

Completed in 25 milliseconds

12345678910>>...39