Home
last modified time | relevance | path

Searched refs:C (Results 26 – 50 of 754) sorted by relevance

12345678910>>...31

/PHP-7.4/Zend/tests/
H A Dbug69676_2.phpt8 const B = self::A . ' and ' . self::C;
9 const C = 'Foo::C';
15 const C = 'Bar::C';
22 string(17) "Foo::A and Foo::C"
H A Dexception_013.phpt5 class C {
10 var_dump(C::$a);
16 var_dump(C::$p);
22 unset(C::$a);
27 var_dump(C::$a);
30 Exception: Access to undeclared static property: C::$a in %sexception_013.php on line 7
32 Exception: Cannot access private property C::$p in %sexception_013.php on line 13
34 Exception: Attempt to unset static property C::$a in %sexception_013.php on line 19
36 Fatal error: Uncaught Error: Access to undeclared static property: C::$a in %sexception_013.php:24
H A Dbug74084.phpt7 $$A += $$B->a = &$$C;
9 $$A -= $$B->a = &$$C;
11 $$A *= $$B->a = &$$C;
13 $$A /= $$B->a = &$$C;
15 $$A **= $$B->a = &$$C;
H A Dthis_in_eval.phpt5 class C {
11 $x = new C;
14 object(C)#1 (0) {
16 object(C)#1 (0) {
/PHP-7.4/ext/standard/tests/array/
H A Darray_chunk_variation25.phpt22 string(1) "C"
50 string(1) "C"
82 string(1) "C"
114 string(1) "C"
145 string(1) "C"
168 string(1) "C"
191 string(1) "C"
213 string(1) "C"
233 string(1) "C"
253 string(1) "C"
[all …]
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_getProperty_003.phpt28 class C extends B {
40 $myC = new C;
85 showInfo("C::pubC");
86 showInfo("C::protC");
139 string(1) "C"
147 string(1) "C"
155 string(1) "C"
213 string(1) "C"
223 string(1) "C"
231 string(1) "C"
[all …]
H A DReflectionClass_getConstant_basic.phpt5 class C {
6 const a = 'hello from C';
8 class D extends C {
18 $classes = array("C", "D", "E", "F", "X");
27 Reflecting on class C:
28 string(12) "hello from C"
31 string(12) "hello from C"
34 string(12) "hello from C"
H A DReflectionObject_getConstants_basic.phpt5 class C {
6 const a = 'hello from C';
8 class D extends C {
18 $classes = array("C", "D", "E", "F", "X");
27 Reflecting on instance of class C:
30 string(12) "hello from C"
35 string(12) "hello from C"
40 string(12) "hello from C"
H A DReflectionClass_hasMethod_basic.phpt8 //New instance of class C - defined below
9 $rc = new ReflectionClass("C");
11 //Check if C has public method publicFoo
14 //Check if C has protected method protectedFoo
17 //Check if C has private method privateFoo
20 //Check if C has static method staticFoo
23 //C should not have method bar
29 Class C {
H A DReflectionObject_getConstant_basic.phpt5 class C {
6 const a = 'hello from C';
8 class D extends C {
18 $classes = array("C", "D", "E", "F", "X");
27 Reflecting on instance of class C:
28 string(12) "hello from C"
31 string(12) "hello from C"
34 string(12) "hello from C"
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
H A DReflectionClass_implementsInterface_001.phpt13 class C implements I2 {}
48 var_dump($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 …]
/PHP-7.4/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();
74 C
75 C
79 C
82 C
/PHP-7.4/tests/classes/
H A Dstatic_properties_003.phpt5 class C {
6 public static $x = 'C::$x';
7 protected static $y = 'C::$y';
10 $c = new C;
19 var_dump($c->x, C::$x);
33 Notice: Accessing static property C::$x as non static in %s on line 11
35 Notice: Accessing static property C::$x as non static in %s on line 12
37 Notice: Undefined property: C::$x in %s on line 12
39 Notice: Accessing static property C::$x as non static in %s on line 13
41 Notice: Accessing static property C::$x as non static in %s on line 15
[all …]
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-7.4/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload1.phpt14 public function method() : C {}
18 class C extends B {
20 var_dump(new C);
24 var_dump(new C);
33 object(C)#2 (0) {
35 object(C)#2 (0) {
/PHP-7.4/ext/spl/tests/
H A DarrayObject___construct_basic2.phpt5 class C {
6 public $prop = 'C::prop.orig';
14 $c = new C;
19 $c = new C;
52 prop=>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_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"
74 object(C)#1 (0) {
77 object(C)#1 (0) {
82 prop=>C::prop.orig
102 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"
74 object(C)#1 (0) {
77 object(C)#1 (0) {
82 prop=>C::prop.orig
102 object(C)#4 (0) {
[all …]
/PHP-7.4/tests/lang/
H A Dengine_assignExecutionOrder_008.phpt47 Class C {
51 echo "\n" . 'C::$p=f(): ';
52 echo $a[C::$p=f()][++C::$p];
54 echo "\n" . 'C::$p[0]=f(): ';
55 C::$p = array();
56 echo $a[C::$p[0]=f()][++C::$p[0]];
59 C::$p = new stdclass;
60 echo $a[C::$p->q=f()][++C::$p->q];
84 C::$p=f(): good
85 C::$p[0]=f(): good
[all …]
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;
324 in C::doForEach
378 in C::doForEach
[all …]
/PHP-7.4/ext/sysvsem/tests/
H A Dnowait.phpt86 echo "C: removing semaphore $c_sem_id.\n";
90 echo "C: child process running.\n";
104 echo "C: releasing semaphore $c_sem_id\n";
106 echo "C: Failed to release semaphore\n";
116 echo "C: releasing semaphore $p_sem_id.\n";
126 C: child process running.
128 C: failed to acquire semaphore Resource id #%i.
129 C: releasing semaphore Resource id #%i
131 C: success acquired semaphore Resource id #%i.
132 C: releasing semaphore Resource id #%i.
[all …]
/PHP-7.4/ext/intl/tests/
H A Dnormalizer_normalize_kc_cf.phpt98 '%C3%A4%7C%7C%C3%A5%7C%7C%C3%B6' normalized to form 'UNORM_FORM_KC_CF' is '%C3%A4%7C%7C%C3%A5%7C%7C
100 '%E2%84%AB%7C%7C%C3%85%7C%7CA%CC%8A' normalized to form 'UNORM_FORM_KC_CF' is '%C3%A5%7C%7C%C3%A5%7
102 '%E2%84%A6%7C%7C%CE%A9' normalized to form 'UNORM_FORM_KC_CF' is '%CF%89%7C%7C%CF%89' error info: '…

Completed in 41 milliseconds

12345678910>>...31