/PHP-7.0/Zend/tests/ |
H A D | no_class_const_propagation_in_closures.phpt | 7 const C = 'A::C'; 11 return self::C; 17 const C = 'B::C'; 25 string(4) "B::C"
|
H A D | exception_013.phpt | 5 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 D | bug74084.phpt | 7 $$A += $$B->a = &$$C; 9 $$A -= $$B->a = &$$C; 11 $$A *= $$B->a = &$$C; 13 $$A /= $$B->a = &$$C; 15 $$A **= $$B->a = &$$C;
|
/PHP-7.0/tests/classes/ |
H A D | static_properties_003.phpt | 5 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 D | type_hinting_004.phpt | 51 class C { 69 call_user_func(array('C', 'f1'), 1); 84 call_user_func(array('C', 'f2')); 165 in C::f1 (static); 168 in C::f2 (static); 169 in C::f2 (static); 170 in C::f2 (static); 176 in C::f1 (instance); 179 in C::f2 (instance); 180 in C::f2 (instance); [all …]
|
H A D | constants_basic_003.phpt | 9 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.0/ext/standard/tests/class_object/ |
H A D | forward_static_call_001.phpt | 34 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.0/tests/lang/ |
H A D | engine_assignExecutionOrder_008.phpt | 48 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 D | foreachLoopObjects.002.phpt | 6 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 D | foreachLoop.016.phpt | 89 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 …]
|
/PHP-7.0/ext/reflection/tests/ |
H A D | ReflectionClass_getConstant_basic.phpt | 5 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 D | ReflectionClass_getProperty_003.phpt | 28 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 D | ReflectionObject_getConstants_basic.phpt | 5 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 D | ReflectionClass_hasMethod_basic.phpt | 8 //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 D | ReflectionObject_getConstant_basic.phpt | 5 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 D | ReflectionClass_implementsInterface_001.phpt | 13 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 D | bug48336.phpt | 12 class C extends B { 16 class D extends C { 41 C => C 42 D => C 43 E => C
|
H A D | ReflectionClass_hasConstant_basic.phpt | 8 //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 {
|
/PHP-7.0/ext/spl/tests/ |
H A D | arrayObject___construct_basic2.phpt | 5 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 D | arrayObject___construct_basic4.phpt | 5 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 D | arrayObject___construct_basic5.phpt | 5 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 D | arrayObject___construct_basic3.phpt | 5 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 …]
|
/PHP-7.0/ext/pdo_firebird/tests/ |
H A D | bug_72931.phpt | 8 $C = new PDO('firebird:dbname='.$test_base, $user, $password) or die; 9 $C->exec('create table tablea (id integer)'); 10 $S = $C->prepare('insert into tablea (id) values (1) returning id'); 15 unset($C); 20 $C = new PDO('firebird:dbname='.$test_base, $user, $password) or die; 21 $C->exec('drop table tablea');
|
H A D | bug_72583.phpt | 8 $C = new PDO('firebird:dbname='.$test_base, $user, $password) or die; 9 @$C->exec('drop table atable'); 10 $C->exec('create table atable (aint integer, asmi smallint)'); 11 $C->exec('insert into atable values (1, -1)'); 12 $S = $C->prepare('select aint, asmi from atable'); 17 unset($C);
|
/PHP-7.0/ext/sysvsem/tests/ |
H A D | nowait.phpt | 86 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 …]
|