/PHP-7.4/tests/classes/ |
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 18
|
H A D | inheritance_007.phpt | 6 public function B () { echo "In " . __METHOD__ . "\n"; } 9 class B extends A { } 11 $rc = new ReflectionClass('B'); 15 $b = new B(); 26 string(1) "B" 40 In A::B
|
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-7.4/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 | 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 | constant_expressions_classes.phpt | 15 'B'=> 'class B extends A { const HW = parent::HW." extended by B"; }', 19 'E' => 'class E extends B { use trE; }', 32 printf("B::HW = %s\n", B::HW); 40 B::HW = this is A extended by B 42 E::getHW() = this is A extended by B
|
H A D | bug66252.phpt | 8 class B extends A { 9 const BHW = parent::HW . " extended by B"; 11 const C = B::BHW; 14 this is A extended by B
|
H A D | use_late_binding_conflict.phpt | 7 class B extends A {} 9 use Foo\B; 13 Fatal error: Cannot use Foo\B as B because the name is already in use in %s on line %d
|
H A D | get_class_vars_005.phpt | 11 class B extends A { 15 var_dump(get_class_vars('B')); 20 var_dump(get_class_vars('B')); 22 new B;
|
H A D | bug46246.phpt | 20 class B extends A 29 $b = new B; 38 Hello from B 39 Hello from B 40 Hello from B
|
H A D | bug33171.phpt | 10 class B extends A 12 private $c = "B's c"; 23 $x = new B; 27 c => B's c
|
/PHP-7.4/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 …]
|
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 | bug47254.phpt | 15 class B extends A 20 $B = new B(); 21 $R = new ReflectionObject($B); 29 …me name as their class will not be constructors in a future version of PHP; B has a deprecated con… 35 [class] => B
|
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 | 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"
|
H A D | ReflectionClass_getProperty_003.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 | bug53915.phpt | 8 const B = self::A; 17 const B = self::A; 21 print_r($rc->getConstant('B')); 26 [B] => 1
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_indent.phpt | 330 =?UTF-8?B?OS4=?=" 339 =?UTF-8?B?OS4=?=" 348 =?UTF-8?B?OS4=?=" 357 =?UTF-8?B?OS4=?=" 366 =?UTF-8?B?Nzg5Lg==?=" 375 =?UTF-8?B?Nzg5Lg==?=" 384 =?UTF-8?B?Nzg5Lg==?=" 393 =?UTF-8?B?Nzg5Lg==?=" 402 =?UTF-8?B?MzQ1Njc4OS4=?=" 411 =?UTF-8?B?MzQ1Njc4OS4=?=" [all …]
|
H A D | bug49354.phpt | 7 $crap = 'AåBäCöDü'; 16 string(12) "AåBäCöDü" 17 string(11) "åBäCöDü" 18 string(11) "åBäCöDü" 19 string(9) "BäCöDü"
|
/PHP-7.4/Zend/tests/traits/ |
H A D | static_003.phpt | 19 class B extends A { 20 protected static $test = "Test B"; 23 echo B::test(); 27 Test B
|
/PHP-7.4/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'); 19 string(5) "B:C:a" 23 string(3) "B:b"
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | sprintf_variation24.phpt | 63 string(11) "a-bA-B@#$&]" 78 string(11) "a-bA-B@#$&]" 93 string(11) "a-bA-B@#$&]" 108 string(11) "a-bA-B@#$&]" 123 string(11) "a-bA-B@#$&]" 138 string(11) "a-bA-B@#$&]" 153 string(11) "a-bA-B@#$&]" 168 string(11) "a-bA-B@#$&]" 183 string(11) "a-bA-B@#$&]" 198 string(11) "a-bA-B@#$&]" [all …]
|
/PHP-7.4/ext/standard/tests/ |
H A D | forward_static_call_array.phpt | 24 class B extends A { 26 const NAME = 'B'; 36 B::test('foo'); 39 B 40 B more,args
|