/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionClass_getDocComment_001.phpt | 24 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 D | ReflectionClass_toString_002.phpt | 14 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 D | ReflectionParameter_invalidMethodInConstructor.phpt | 13 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 D | ReflectionObject_getName_basic.phpt | 9 class C { } 10 $myInstance = new C; 20 string(1) "C"
|
H A D | bug80190.phpt | 6 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 D | ReflectionClass_isSubclassOf_basic.phpt | 7 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 D | bug48770_3.phpt | 37 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 D | get_class_vars_002.phpt | 18 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 D | bug48770.phpt | 22 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 D | gh14961.phpt | 6 class C { 7 public $class = C::class; 10 $c = new C();
|
/PHP-8.2/tests/output/ |
H A D | ob_start_basic_006.phpt | 16 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 D | static_properties_undeclared_assign.phpt | 5 Class C {} 6 C::$p = 1; 9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
|
H A D | static_properties_undeclared_assignInc.phpt | 5 Class C {} 6 C::$p += 1; 9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
|
H A D | static_properties_undeclared_read.phpt | 5 Class C {} 6 echo C::$p; 9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
|
H A D | static_properties_undeclared_assignRef.phpt | 5 Class C {} 7 C::$p =& $a; 10 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
|
H A D | constants_basic_006.phpt | 5 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 D | static_properties_004.phpt | 5 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 D | readonly_class_unserialize_error.phpt | 6 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 D | attributes.phpt | 15 #[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 D | bug55294.phpt | 14 <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 D | expect_015.phpt | 24 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 D | preg_filter.phpt | 8 $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 D | gh9750-010.phpt | 9 class C { 19 $gen = $gen(new C()); 32 C::__destruct
|
H A D | gh9750-001.phpt | 9 class C { 19 $gen = $gen(new C()); 32 C::__destruct
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/ |
H A D | dnf_intersection_and_single.phpt | 11 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)
|