Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-5.5/tests/lang/
H A Dengine_assignExecutionOrder_008.phpt48 Class C {
52 echo "\n" . 'C::$p=f(): ';
53 echo $a[C::$p=f()][++C::$p];
55 echo "\n" . 'C::$p[0]=f(): ';
56 C::$p = array();
57 echo $a[C::$p[0]=f()][++C::$p[0]];
60 C::$p = new stdclass;
61 echo $a[C::$p->q=f()][++C::$p->q];
79 C::$p=f(): good
80 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 …]
H A DforeachLoop.016.phpt89 class C {
93 echo "\n" . 'C::$a' . "\n";
94 C::$a = array('original');
95 $b = C::$a;
104 $b = C::$a[0];
109 unset(C::$a[0], $b);
113 $b = C::$a[0]->b;
118 unset(C::$a[0]->b, $b);
188 C::$a
194 C::$a[0]
[all …]
H A DforeachLoopObjects.003.phpt6 class C {
15 $obj = new C;
23 $obj = new C;
31 $obj = new C;
38 $obj = new C;
52 $obj = new C;
66 $obj = new C;
76 $obj = new C;
92 object(C)#%d (5) {
106 object(C)#%d (5) {
[all …]
/PHP-5.5/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-5.5/ext/reflection/tests/
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 DReflectionClass_getProperty_003.phpt28 class C extends B {
40 $myC = new C;
85 showInfo("C::pubC");
86 showInfo("C::protC");
87 showInfo("C::privC");
139 %unicode|string%(1) "C"
147 %unicode|string%(1) "C"
155 %unicode|string%(1) "C"
213 %unicode|string%(1) "C"
223 %unicode|string%(1) "C"
[all …]
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_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 …]
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_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 DReflectionClass_getConstructor_basic.phpt40 class C extends B {
41 function C() {}
44 class D1 extends C {
48 class D2 extends C {
52 'OldAndNewCtor', 'NewAndOldCtor', 'B', 'C', 'D1', 'D2', 'X', 'Y');
75 Constructor of C: C
77 Constructor of D2: C
H A Dbug42976.phpt6 Class C {
13 new C($x); // OK
16 $rc = new ReflectionClass('C');
29 Warning: Parameter 1 to C::__construct() expected to be a reference, value given in %sbug42976.php …
31 Warning: ReflectionClass::newInstance(): Invocation of C's constructor failed in %sbug42976.php on …
34 Warning: Parameter 1 to C::__construct() expected to be a reference, value given in %sbug42976.php …
36 Warning: ReflectionClass::newInstanceArgs(): Invocation of C's constructor failed in %sbug42976.php…
/PHP-5.5/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 Strict Standards: Accessing static property C::$x as non static in %s on line 11
35 Strict Standards: 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 Strict Standards: Accessing static property C::$x as non static in %s on line 13
41 Strict Standards: Accessing static property C::$x as non static in %s on line 15
[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-5.5/ext/ereg/regex/
H A Dtests44 a( C EPAREN
49 a(b C EPAREN
96 | C EMPTY
98 * C BADRPT
100 + C BADRPT
101 ? C BADRPT
102 "" &C EMPTY
106 |ab C EMPTY
107 ab| C EMPTY
119 ^* C BADRPT
[all …]
/PHP-5.5/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 …]
H A DarrayObject___construct_basic3.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_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) {
185 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) {
185 object(C)#1 (3) {
[all …]

Completed in 57 milliseconds

12345678910>>...28