Home
last modified time | relevance | path

Searched refs:C (Results 151 – 175 of 973) sorted by relevance

12345678910>>...39

/PHP-8.2/ext/reflection/tests/
H A DReflectionClass_getDocComment_001.phpt24 class C extends B {}
41 class E extends C implements I {} {}
44 class F extends C implements I {} {}
47 final class G extends C implements I {} {}
49 $classes = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'I');
75 ---> Doc comment for class C:
H A DReflectionClass_toString_002.phpt14 Class C extends B {
17 Class D extends C {
20 foreach (array('A', 'B', 'C', 'D') as $class) {
76 ----( Reflection class C: )----
77 Class [ <user> class C extends B ] {
101 Class [ <user> class D extends C ] {
H A DReflectionParameter_invalidMethodInConstructor.phpt13 new ReflectionParameter (array ('C', 'b'), 0);
18 new ReflectionParameter (array (new C, 'b'), 0);
22 class C {
44 Method C::b() does not exist
45 Method C::b() does not exist
H A DReflectionObject_getName_basic.phpt9 class C { }
10 $myInstance = new C;
20 string(1) "C"
H A Dbug80190.phpt6 class C
25 foreach ((new ReflectionClass(C::class))->getMethods() as $method) {
49 C::a()
53 C::b()
59 C::c()
63 C::d()
H A DReflectionClass_isSubclassOf_basic.phpt7 class C extends B {}
12 $classNames = array('A', 'B', 'C', 'I', 'X');
35 Is A a subclass of C?
50 Is B a subclass of C?
59 Is C a subclass of A?
62 Is C a subclass of B?
65 Is C a subclass of C?
68 Is C a subclass of I?
71 Is C a subclass of X?
80 Is I a subclass of C?
[all …]
/PHP-8.2/Zend/tests/
H A Dbug48770_3.phpt37 class C extends B {
43 $c = new C;
48 Deprecated: Callables of the form ["C", "self::func2"] are deprecated in %s on line %d
51 Deprecated: Callables of the form ["C", "self::func3"] are deprecated in %s on line %d
54 Deprecated: Callables of the form ["C", "self::inexistent"] are deprecated in %s on line %d
55 call_user_func_array(): Argument #1 ($callback) must be a valid callback, class C does not have a m…
H A Dget_class_vars_002.phpt18 class C extends B {
27 new C;
44 Warning: Undefined property: C::$b in %s on line %d
46 Warning: Undefined property: C::$c in %s on line %d
H A Dbug48770.phpt22 class C extends B {
24 echo "C::func called\n";
29 $c = new C;
34 Deprecated: Callables of the form ["C", "parent::func"] are deprecated in %s on line %d
H A Dgh14961.phpt6 class C {
7 public $class = C::class;
10 $c = new C();
/PHP-8.2/tests/output/
H A Dob_start_basic_006.phpt16 Class C {
27 return "C::g[call:$i; len:$len] - $string\n";
34 return "C::h[call:$i; len:$len; id:$this->id] - $string\n";
52 var_dump(ob_start(array("f", "C::g", "f", "C::g")));
70 var_dump(ob_start(array('f', 'C::g', array(array($c, "g"), array($c, "h")))));
115 C::h[call:1; len:37; id:originalID] - bool(true)
118 [0] => C::h
121 C::h[call:2; len:37; id:changedID] - bool(true)
124 [0] => C::h
/PHP-8.2/tests/classes/
H A Dstatic_properties_undeclared_assign.phpt5 Class C {}
6 C::$p = 1;
9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
H A Dstatic_properties_undeclared_assignInc.phpt5 Class C {}
6 C::$p += 1;
9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
H A Dstatic_properties_undeclared_read.phpt5 Class C {}
6 echo C::$p;
9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
H A Dstatic_properties_undeclared_assignRef.phpt5 Class C {}
7 C::$p =& $a;
10 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
H A Dconstants_basic_006.phpt5 class C
11 eval('class D extends C { const V = \'test\'; }');
20 var_dump(C::X, C::$a, D::X, D::$a, E::X, E::$a);
H A Dstatic_properties_004.phpt5 class C { public static $p = 'original'; }
6 class D extends C { }
10 var_dump(C::$p, D::$p, E::$p);
14 var_dump(C::$p, D::$p, E::$p);
19 var_dump(C::$p, D::$p, E::$p);
/PHP-8.2/Zend/tests/readonly_classes/
H A Dreadonly_class_unserialize_error.phpt6 readonly class C {}
9 $readonly = unserialize('O:1:"C":1:{s:1:"x";b:1;}');
16 Cannot create dynamic property C::$x
/PHP-8.2/Zend/tests/named_params/
H A Dattributes.phpt15 #[MyAttribute('A', c: 'C')]
18 #[MyAttribute('A', a: 'C')]
40 string(1) "C"
48 string(1) "C"
/PHP-8.2/ext/dom/tests/
H A Dbug55294.phpt14 <C xmlns="http://example.com/C" xmlns:default="http://example.com/Z" />
30 <C xmlns="http://example.com/C" xmlns:default="http://example.com/Z"/>
/PHP-8.2/Zend/tests/assert/
H A Dexpect_015.phpt24 abstract class A extends B implements C, D {
55 $x->a = C::C;
57 $x->{a . "_1"} = C::C;
58 $x = C::$z;
60 $x = C::${$z . "_1"};
126 declare(C=1) { echo 1; }
198 $x->a = C::C;
200 $x->{a . '_1'} = C::C;
201 $x = C::$z;
203 $x = C::${$z . '_1'};
[all …]
/PHP-8.2/ext/pcre/tests/
H A Dpreg_filter.phpt8 $replace = array('A:$0', 'B:$0', 'C:$0');
16 string(5) "A:C:1"
18 string(5) "B:C:a"
/PHP-8.2/Zend/tests/generators/
H A Dgh9750-010.phpt9 class C {
19 $gen = $gen(new C());
32 C::__destruct
H A Dgh9750-001.phpt9 class C {
19 $gen = $gen(new C());
32 C::__destruct
/PHP-8.2/Zend/tests/type_declarations/dnf_types/
H A Ddnf_intersection_and_single.phpt11 class C {}
60 $c = new C();
119 Test::foo1(): Argument #1 ($v) must be of type (X&Y)|int, C given, called in %s on line %d
120 Test::foo2(): Argument #1 ($v) must be of type (X&Y)|int, C given, called in %s on line %d
121 Test::bar1(): Argument #1 ($v) must be of type B|(X&Y), C given, called in %s on line %d
122 Test::bar2(): Argument #1 ($v) must be of type (X&Y)|B, C given, called in %s on line %d
123 Cannot assign C to property Test::$prop1 of type (X&Y)|int
124 Cannot assign C to property Test::$prop2 of type (X&Y)|int
125 Cannot assign C to property Test::$prop3 of type (X&Y)|B
126 Cannot assign C to property Test::$prop4 of type B|(X&Y)

Completed in 47 milliseconds

12345678910>>...39