/PHP-8.3/tests/classes/ |
H A D | property_override_privateStatic_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | property_override_private_privateStatic.phpt | 14 class B extends A 16 private static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 34 B::p (static)
|
H A D | property_override_private_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 34 B::p (static)
|
H A D | property_override_private_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 34 B::p (static)
|
H A D | property_override_privateStatic_privateStatic.phpt | 14 class B extends A 16 private static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | property_override_privateStatic_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | property_override_protectedStatic_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | property_override_protectedStatic_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | property_override_publicStatic_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | constants_basic_004.phpt | 8 public static $sa_x = array(B::KEY => B::VALUE); 9 public $a_x = array(B::KEY => B::VALUE); 12 class B 22 class C extends B 32 // Should also include inherited properties from B. 36 var_dump(X::$sa_x, B::$sa_b, C::$sa_b, C::$sa_c_parent, C::$sa_c_self); 40 $b = new B; 75 object(B)#%d (1) {
|
H A D | property_override_protectedStatic_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 protected (as in class A) or weaker in %s on line 11
|
H A D | property_override_protected_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
|
/PHP-8.3/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error4.phpt | 12 } else if ($class == 'B') { 13 class B extends A { 16 var_dump(new B); 19 public function method(): B {} 30 var_dump(new B); 39 Fatal error: Declaration of Y::method(): A must be compatible with X::method(): B in %s on line %d
|
H A D | class_order_autoload5.phpt | 13 } else if ($class == 'B') { 14 class B extends A { 17 var_dump(new B); 35 public function method(): B {} 41 var_dump(new B); 55 object(B)#2 (0) { 57 object(B)#2 (0) {
|
H A D | class_order_error.phpt | 7 public function method() : B {} 9 class B extends A { 12 class C extends B { 19 Fatal error: Could not check compatibility between B::method(): C and A::method(): B, because class…
|
/PHP-8.3/Zend/tests/ |
H A D | get_class_vars_006.phpt | 10 class B extends A { } 12 class C extends B { } 15 var_dump(get_class_vars('B')); 20 class D extends B { 23 var_dump(get_class_vars('B'));
|
H A D | bug60833.phpt | 13 class B extends A { 14 static $x = "B"; 22 $t = new B(); 30 object(B)#2 (0) { 34 string(1) "B"
|
/PHP-8.3/Zend/tests/type_declarations/ |
H A D | typed_class_constants_inheritance_success1.phpt | 12 class B extends A { 19 var_dump(B::CONST1); 20 var_dump(B::CONST2); 21 var_dump(B::CONST3); 22 var_dump(B::CONST4);
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_indent.phpt | 326 =?UTF-8?B?OS4=?=" 335 =?UTF-8?B?OS4=?=" 344 =?UTF-8?B?OS4=?=" 353 =?UTF-8?B?OS4=?=" 362 =?UTF-8?B?Nzg5Lg==?=" 371 =?UTF-8?B?Nzg5Lg==?=" 380 =?UTF-8?B?Nzg5Lg==?=" 389 =?UTF-8?B?Nzg5Lg==?=" 398 =?UTF-8?B?MzQ1Njc4OS4=?=" 407 =?UTF-8?B?MzQ1Njc4OS4=?=" [all …]
|
/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | callbacks_001.phpt | 14 class B extends A { 16 echo "B\n"; 20 class C extends B { 28 $this->call(array('B', 'parent::who')); 32 $this->call(array('B', 'who2')); 90 B 94 B 95 B|parent::who 106 B 107 B|who2 [all …]
|
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionClass_getProperty_004.phpt | 18 class B extends A { 28 class C extends B { 79 showInfo("B::pubC"); 80 showInfo("B::protC"); 81 showInfo("B::privC"); 121 string(1) "B" 123 string(9) "pubB in B" 129 string(1) "B" 189 string(1) "B" 197 string(1) "B" [all …]
|
H A D | ReflectionClass_implementsInterface_001.phpt | 10 class B extends A {} 15 $classNames = array('A', 'B', 'C', 'I1', 'I2'); 72 Does A implement B? 84 Does B implement A? 87 Does B implement B? 90 Does B implement C? 93 Does B implement I1? 96 Does B implement I2? 102 Does C implement B? 117 Does I1 implement B? [all …]
|
/PHP-8.3/Zend/tests/generators/ |
H A D | nested_method_calls.phpt | 12 class B { 14 echo "Called B::foo\n"; 25 $g2 = gen(new B); 35 Called B::foo 36 Called B::foo
|
/PHP-8.3/ext/spl/tests/ |
H A D | iterator_011.phpt | 15 $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')); 41 1=>B 44 1=>B 46 1=>B 48 1=>B
|
/PHP-8.3/Zend/tests/named_params/ |
H A D | defaults.phpt | 18 test1(b: 'B'); 21 test2(b: 'B'); 24 test3(b: 'B'); 28 a: a, b: B 29 a: X, b: B 33 #0 %s(%d): test3(NULL, 'B')
|