Home
last modified time | relevance | path

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

12345678910>>...31

/PHP-7.0/Zend/tests/
H A Dexception_017.phpt5 abstract class C {
13 C::foo();
19 foo("C::foo");
28 C::foo();
31 Exception: Cannot call abstract method C::foo() in %sexception_017.php on line %d
34 Exception: Cannot call abstract method C::foo()
36 Fatal error: Uncaught Error: Cannot call abstract method C::foo() in %sexception_017.php:%d
H A Dthis_in_eval.phpt5 class C {
11 $x = new C;
14 object(C)#1 (0) {
16 object(C)#1 (0) {
H A Dbug47054.phpt6 class C {
11 class D extends C {
20 C::s();
22 $c = new C();
32 Called class: C
33 Called class: C
H A Dns_057.phpt7 const C = "const ok\n";
14 const C = "const ok\n";
15 const C2 = namespace\C;
25 function f1($x=namespace\C) {
28 function f2($x=namespace\foo::C) {
36 echo namespace\C;
38 echo namespace\foo::C;
H A Dns_058.phpt5 const C = "const ok\n";
12 const C = "const ok\n";
13 const C2 = namespace\C;
23 function f1($x=namespace\C) {
26 function f2($x=namespace\foo::C) {
34 echo namespace\C;
36 echo namespace\foo::C;
/PHP-7.0/ext/spl/tests/
H A DarrayObject_exchangeArray_basic3.phpt6 class C {
11 $original = new C;
13 $swapIn = new C;
27 $original = new C;
40 $original = new C;
56 object(C)#3 (2) {
63 object(C)#1 (2) {
69 object(C)#3 (2) {
88 object(C)#3 (2) {
95 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) {
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 …]
H A Diterator_011.phpt15 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D'));
25 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D'));
40 2=>C
44 2=>C
47 2=>C
49 2=>C
H A Diterator_018.phpt15 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D'));
25 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D'));
40 2=>C
44 2=>C
47 2=>C
49 2=>C
H A DarrayObject_clone_basic3.phpt5 class C {
6 public $p = 'C::p.orig';
9 $wrappedObject = new C;
25 object(C)#1 (5) {
27 string(9) "C::p.orig"
39 object(C)#1 (5) {
41 string(9) "C::p.orig"
56 object(C)#1 (5) {
58 string(9) "C::p.orig"
74 string(9) "C::p.orig"
H A DarrayObject_asort_basic2.phpt13 Class C {
20 $c = new C;
31 object(C)#1 (4) {
32 ["prop3":"C":private]=>
42 object(C)#1 (4) {
43 ["prop3":"C":private]=>
H A DarrayObject_ksort_basic2.phpt13 Class C {
20 $c = new C;
31 object(C)#1 (4) {
32 ["b":"C":private]=>
42 object(C)#1 (4) {
43 ["b":"C":private]=>
H A DarrayObject_setFlags_basic2.phpt5 class C extends ArrayObject {
13 $c = new C(array('x'=>'public'));
16 C::go($c);
21 C::go($c);
29 Fatal error: Uncaught Error: Cannot access private property C::$x in %s:19
/PHP-7.0/tests/lang/
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-7.0/ext/reflection/tests/
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…
H A DReflectionClass_FileInfo_basic.phpt5 //New instance of class C - defined below
6 $rc = new ReflectionClass("C");
8 //Get the file name of the PHP script in which C is defined
11 //Get the line number at the start of the definition of class C
14 //Get the line number at the end of the definition of class C
23 Class C {
H A Dbug43926.phpt14 class C extends A {
18 $rc = new ReflectionClass('C');
28 print("Is? C ". ($rc->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof C) ? …
33 print("Is? C ". ($rc->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof C) ? …
38 print("Is? C ". ($rc->isInstance($cd) ? 'true' : 'false') .", instanceof: ". (($cd instanceof C) ? …
43 print("Is? C ". ($rc->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof C) ? …
50 Is? C false, instanceof: false
55 Is? C true, instanceof: true
60 Is? C false, instanceof: false
65 Is? C false, instanceof: false
/PHP-7.0/ext/mbstring/tests/
H A Dmb_encode_mimeheader_indent.phpt243 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20=CE=B5?=
251 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20=CE=B5?=
291 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20?=
299 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20?=
307 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20?=
315 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20?=
323 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20?=
332 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20?=
341 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C?=
350 string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C?=
[all …]
H A Dbug49354.phpt7 $crap = 'AåBäCöDü';
16 string(12) "AåBäCöDü"
17 string(11) "åBäCöDü"
18 string(11) "åBäCöDü"
19 string(9) "BäCöDü"
/PHP-7.0/ext/pdo_firebird/tests/
H A Dbug_aaa.phpt8 $C = new PDO('firebird:dbname='.$test_base, $user, $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_WA…
9 @$C->exec('drop table ta_table');
10 $C->exec('create table ta_table (id integer)');
11 $S = $C->prepare('insert into ta_table (id) values (:id) returning id');
15 unset($C);
/PHP-7.0/tests/classes/
H A Dstatic_properties_003_error4.phpt5 class C {
6 protected static $y = 'C::$y';
8 $c = new C;
18 Fatal error: Uncaught Error: Cannot access protected property C::$y in %s:8
22 Next Error: Cannot access protected property C::$y in %s:8
/PHP-7.0/ext/standard/tests/serialize/
H A Dserialization_objects_009.phpt16 $ser = 'C:1:"C":6:{dasdas}';
18 eval('class C {}');
28 Warning: Class C has no unserializer in %sserialization_objects_009.php on line %d
31 string(1) "C"
33 object(C)#%d (0) {
/PHP-7.0/Zend/tests/traits/
H A Dbug60217a.phpt14 class C {
18 echo "C::foo() works.\n";
22 $o = new C;
26 C::foo() works.

Completed in 78 milliseconds

12345678910>>...31