Home
last modified time | relevance | path

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

12345678910>>...39

/PHP-8.2/Zend/tests/
H A Dns_034.phpt8 const C = "ok\n";
10 function f1($x=Foo::C) {
13 function f2($x=B\Foo::C) {
16 function f3($x=\A\Foo::C) {
19 echo Foo::C;
20 echo B\Foo::C;
21 echo \A\Foo::C;
H A Dno_class_const_propagation_in_closures.phpt7 const C = 'A::C';
11 return self::C;
17 const C = 'B::C';
25 string(4) "B::C"
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 Dbug47054.phpt6 class C {
11 class D extends C {
20 C::s();
22 $c = new C();
28 Called class: C
29 Called class: 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 %s on line %d
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 %s:%d
H A Dexception_017.phpt5 abstract class C {
13 C::foo();
19 foo("C::foo");
24 C::foo();
27 Error: Cannot call abstract method C::foo() in %s:%d
33 #0 %s(%d): foo('C::foo')
37 Fatal error: Uncaught Error: Cannot call abstract method C::foo() in %s:%d
/PHP-8.2/tests/lang/
H A Dengine_assignExecutionOrder_008.phpt53 Class C {
57 echo "\n" . 'C::$p=f(): ';
58 echo $a[C::$p=f()][++C::$p];
60 echo "\n" . 'C::$p[0]=f(): ';
61 C::$p = array();
62 echo $a[C::$p[0]=f()][++C::$p[0]];
65 C::$p = new stdclass;
66 echo $a[C::$p->q=f()][++C::$p->q];
78 C::$p=f(): good
79 C::$p[0]=f(): good
[all …]
H A DforeachLoop.016.phpt95 class C {
100 C::$a = array('original');
101 $b = C::$a;
110 $b = C::$a[0];
115 unset(C::$a[0], $b);
118 C::$a[0] = new stdClass;
120 $b = C::$a[0]->b;
125 unset(C::$a[0]->b, $b);
188 C::$a
194 C::$a[0]
[all …]
/PHP-8.2/ext/reflection/tests/
H A Dbug45139.phpt16 class C extends B {
22 $rc = new ReflectionClass('C');
34 $rc = new ReflectionClass('C');
38 $rc = new ReflectionClass('C');
40 var_dump($rp->getDeclaringClass()->getName()); // C
46 $rc = new ReflectionClass('C');
48 var_dump($rp->getDeclaringClass()->getName()); // C
52 string(1) "C"
56 string(1) "C"
58 string(1) "C"
H A DReflectionClass_getConstants_basic.phpt5 class C {
6 const a = 'hello from C';
8 class D extends C {
18 $classes = array('C', 'D', 'E', 'F', 'X');
26 Constants from class C:
29 string(12) "hello from C"
34 string(12) "hello from C"
39 string(12) "hello from C"
H A DReflectionClass_hasProperty_basic.phpt8 //New instance of class C - defined below
9 $rc = new ReflectionClass("C");
11 //Check if C has public property publicFoo
14 //Check if C has protected property protectedFoo
17 //Check if C has private property privateFoo
20 //Check if C has static property staticFoo
23 //C should not have property bar
26 Class C {
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"
/PHP-8.2/Zend/tests/constants/final_constants/
H A Dfinal_const8.phpt8 const C = 1;
13 const C = 1;
16 class C implements I1, I2
22 Fatal error: Class C inherits both I1::C and I2::C, which is ambiguous in %s on line %d
/PHP-8.2/ext/standard/tests/array/
H A Darray_chunk_variation25.phpt22 string(1) "C"
45 string(1) "C"
77 string(1) "C"
109 string(1) "C"
140 string(1) "C"
163 string(1) "C"
186 string(1) "C"
208 string(1) "C"
228 string(1) "C"
248 string(1) "C"
[all …]
/PHP-8.2/ext/opcache/tests/jit/
H A Dfetch_obj_007.phpt10 class C {
11 public ?C $prop = null;
17 $obj = new C;
18 $obj->prop = new C;
25 object(C)#1 (1) {
27 object(C)#2 (1) {
H A Dfetch_obj_003.phpt13 class C {
17 $x = new C;
24 $x = new C;
35 Warning: Undefined property: C::$a in %s on line %d
36 object(C)#1 (1) {
41 Warning: Undefined property: C::$a in %s on line %d
42 object(C)#1 (2) {
/PHP-8.2/ext/sysvsem/tests/
H A Dnowait.phpt87 echo "C: child process running.\n";
90 echo "C: got semaphores.\n";
101 echo "C: releasing semaphore.\n";
113 echo "C: releasing semaphore.\n";
123 C: child process running.
124 C: got semaphores.
125 C: failed to acquire semaphore.
126 C: releasing semaphore.
128 C: success acquired semaphore.
129 C: releasing semaphore.
[all …]
/PHP-8.2/tests/classes/
H A Dstatic_properties_003.phpt6 class C {
7 public static $x = 'C::$x';
8 protected static $y = 'C::$y';
11 $c = new C;
20 var_dump($c->x, C::$x);
33 Notice: Accessing static property C::$x as non static in %s on line 12
35 Notice: Accessing static property C::$x as non static in %s on line 13
37 Warning: Undefined property: C::$x in %s on line %d
39 Notice: Accessing static property C::$x as non static in %s on line 14
41 Notice: Accessing static property C::$x as non static in %s on line 16
[all …]
/PHP-8.2/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);
32 object(C)#2 (0) {
34 object(C)#2 (0) {
/PHP-8.2/ext/intl/tests/
H A Dnormalizer_normalize_kc_cf.phpt94 '%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
96 '%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
98 '%E2%84%A6%7C%7C%CE%A9' normalized to form 'UNORM_FORM_KC_CF' is '%CF%89%7C%7C%CF%89' error info: '…
/PHP-8.2/ext/standard/tests/serialize/
H A Dserialization_objects_009.phpt5 $ser = 'C:1:"C":6:{dasdas}';
7 eval('class C {}');
17 Warning: Class C has no unserializer in %sserialization_objects_009.php on line %d
20 string(1) "C"
22 object(C)#%d (0) {
/PHP-8.2/ext/pcntl/tests/
H A Dbug81577.phpt8 class C {
13 C::$a = [ C::$cond ]; // make countable zval
19 C::$a + C::$a;
20 posix_kill(posix_getpid(), SIGTERM) + C::$cond;

Completed in 56 milliseconds

12345678910>>...39