/PHP-8.3/tests/classes/ |
H A D | property_override_protected_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_publicStatic_privateStatic.phpt | 14 class B extends A 16 private static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
H A D | property_override_public_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_protected_privateStatic.phpt | 14 class B extends A 16 private static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_publicStatic_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
H A D | property_override_public_privateStatic.phpt | 14 class B extends A 16 private static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_public_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | constants_basic_003.phpt | 6 class B 19 var_dump(B::$a); 20 var_dump(B::$c); 21 var_dump(B::ca); 22 var_dump(B::cc);
|
/PHP-8.3/ext/standard/tests/class_object/ |
H A D | bug71442.phpt | 15 class B extends A 17 const NAME = 'B'; 26 B::test('foo'); 35 B 36 B more,args
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | bug49354.phpt | 7 $crap = 'AåBäCöDü'; 17 string(12) "AåBäCöDü" 18 string(11) "åBäCöDü" 19 string(11) "åBäCöDü" 20 string(9) "BäCöDü"
|
/PHP-8.3/Zend/tests/ |
H A D | bug42211.phpt | 7 var_dump(property_exists('B', 'publicBar')); 8 var_dump(property_exists('B', 'protectedBar')); 9 var_dump(property_exists('B', 'privateBar')); 13 class B extends A { 21 $b = new B();
|
H A D | constant_expressions_classes.phpt | 13 'B'=> 'class B extends A { const HW = parent::HW." extended by B"; }', 17 'E' => 'class E extends B { use trE; }', 30 printf("B::HW = %s\n", B::HW); 38 B::HW = this is A extended by B 40 E::getHW() = this is A extended by B
|
H A D | lsb_022.phpt | 13 class B extends A { 15 echo "B\n"; 25 B::foo(); 29 B 34 B 37 B 42 B 47 B
|
H A D | bug45805.phpt | 19 class B { 26 $m = new ReflectionMethod('B', 'foo'); 35 $o = new B; 42 #1 [internal function]: B->foo() 43 #2 %sbug45805.php(%d): ReflectionMethod->invoke(Object(B)) 44 #3 %sbug45805.php(%d): B->bar()
|
H A D | gh10709.phpt | 6 class B { const C = A::C . "B"; } 10 var_dump(B::C); 14 new B();
|
H A D | gh14009_005.phpt | 22 class B extends A { 31 (new B)->foo(); 32 (new B)->bar(); 37 B::foo -> B::T::test
|
H A D | bug66252.phpt | 8 class B extends A { 9 const BHW = parent::HW . " extended by B"; 11 const C = B::BHW; 15 this is A extended by B
|
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionClass_toString_002.phpt | 11 Class B extends A { 14 Class C extends B { 20 foreach (array('A', 'B', 'C', 'D') as $class) { 52 ----( Reflection class B: )---- 53 Class [ <user> class B extends A ] { 77 Class [ <user> class C extends B ] { 93 Method [ <user, inherits B, prototype A> public method f ] { 117 Method [ <user, overwrites B, prototype A> public method f ] {
|
H A D | ReflectionObject_isInstance_basic.phpt | 6 class B extends A {} 9 $classes = array("A", "B", "X"); 12 "myB" => new B, 28 is myA a B? bool(false) 29 is myB a B? bool(true) 30 is myX a B? bool(false)
|
H A D | ReflectionMethod_getDeclaringClass_basic.phpt | 10 class B extends A { 14 $methodInfo = new ReflectionMethod('B', 'foo'); 17 $methodInfo = new ReflectionMethod('B', 'bar'); 28 string(1) "B"
|
/PHP-8.3/Zend/tests/type_declarations/dnf_types/ |
H A D | dnf_intersection_and_single.phpt | 10 class B {} 16 public (X&Y)|B $prop3; 17 public B|(X&Y) $prop4; 27 public function bar1(B|(X&Y) $v): B|(X&Y) { 31 public function bar2((X&Y)|B $v): (X&Y)|B { 39 $b = new B(); 115 object(B)#3 (0) { 117 object(B)#3 (0) { 121 Test::bar1(): Argument #1 ($v) must be of type B|(X&Y), C given, called in %s on line %d 125 Cannot assign C to property Test::$prop3 of type (X&Y)|B [all …]
|
/PHP-8.3/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | invalid2.phpt | 7 interface B {} 9 class Test implements A, B {} 12 public function foo(): A&B { 17 /* This fails because just A larger than A&B */ 26 Fatal error: Declaration of FooChild::foo(): array must be compatible with Foo::foo(): A&B in %s on…
|
H A D | invalid_covariance_drop_type1.phpt | 7 interface B {} 9 class Test implements A, B {} 12 public function foo(): A&B { 17 /* This fails because just A larger than A&B */ 26 Fatal error: Declaration of FooChild::foo(): A must be compatible with Foo::foo(): A&B in %s on lin…
|
/PHP-8.3/ext/pcre/tests/ |
H A D | preg_filter.phpt | 6 $subject = array('1', 'a', '2', 'b', '3', 'A', 'B', '4'); 8 $replace = array('A:$0', 'B:$0', 'C:$0'); 18 string(5) "B:C:a" 22 string(3) "B:b"
|
/PHP-8.3/Zend/tests/named_params/ |
H A D | call_user_func_array.phpt | 14 call_user_func_array($test, ['A', 'B']); 15 call_user_func_array($test, [1 => 'A', 0 => 'B']); 32 call_user_func_array($test, ['A', 'B']); 33 call_user_func_array($test, [1 => 'A', 0 => 'B']); 50 a = A, b = B, c = c 51 a = A, b = B, c = c 62 a = A, b = B, c = c 63 a = A, b = B, c = c
|