/PHP-8.3/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload3.phpt | 12 } else if ($class == 'B') { 13 class B extends A { 16 var_dump(new B); 24 public function method(): B {} 30 var_dump(new B); 40 object(B)#2 (0) { 42 object(B)#2 (0) {
|
H A D | class_order_autoload1.phpt | 9 public function method() : B {} 12 } else if ($class == 'B') { 13 class B extends A { 16 var_dump(new B); 18 class C extends B { 30 object(B)#2 (0) {
|
H A D | class_order_autoload4.phpt | 13 } else if ($class == 'B') { 14 class B extends A { 17 var_dump(new B); 25 public function method(): B; 31 var_dump(new B); 39 object(B)#2 (0) { 41 object(B)#2 (0) {
|
/PHP-8.3/ext/standard/tests/serialize/ |
H A D | bug62836_1.phpt | 5 $serialized_object='O:1:"A":4:{s:1:"b";O:1:"B":0:{}s:2:"b1";r:2;s:1:"c";O:1:"B":0:{}s:2:"c1";r:4;}'; 17 [b] => B Object 21 [b1] => B Object 25 [c] => B Object 29 [c1] => B Object
|
H A D | bug62836_2.phpt | 5 $serialized_object='O:1:"A":4:{s:1:"b";O:1:"B":0:{}s:2:"b1";r:2;s:1:"c";O:1:"B":0:{}s:2:"c1";r:4;}'; 20 [b] => B Object 24 [b1] => B Object 28 [c] => B Object 32 [c1] => B Object
|
/PHP-8.3/ext/dom/tests/ |
H A D | DOMNode_insertBefore.phpt | 16 $e2 = $dom->documentElement->appendChild($dom->createElement("B")); 18 echo "Add new node B\n"; 21 echo "Add new node A before B\n"; 29 Add new node B 31 <root><B/></root> 32 Add new node A before B 34 <root><A/><B/></root>
|
/PHP-8.3/Zend/tests/ |
H A D | bug44653.phpt | 9 namespace B; 13 class B { 20 B::fooBar(); 22 \B\fooBar(); 29 B\fooBar 30 B\fooBar
|
H A D | bug76860.phpt | 13 class B extends A { 15 new B; 18 Notice: Accessing static property B::$a as non static in %sbug76860.php on line 7 20 Warning: Undefined property: B::$a in %s on line %d 22 Notice: Accessing static property B::$b as non static in %sbug76860.php on line 7 24 Warning: Undefined property: B::$b in %s on line %d 26 Notice: Accessing static property B::$c as non static in %sbug76860.php on line 7 28 Warning: Undefined property: B::$c in %s on line %d
|
H A D | bug76860_2.phpt | 13 class B extends A { 18 new B; 21 Notice: Accessing static property B::$a as non static in %sbug76860_2.php on line 7 23 Warning: Undefined property: B::$a in %s on line %d 25 Notice: Accessing static property B::$b as non static in %sbug76860_2.php on line 7 27 Warning: Undefined property: B::$b in %s on line %d 29 Notice: Accessing static property B::$c as non static in %sbug76860_2.php on line 7 31 Warning: Undefined property: B::$c in %s on line %d
|
H A D | gh10709_2.phpt | 6 class B { 12 var_dump(new B()); 16 var_dump(new B()); 23 object(B)#2 (1) { 27 object(B)#2 (1) {
|
H A D | no_class_const_propagation_in_closures.phpt | 16 class B { 17 const C = 'B::C'; 21 var_dump($f->bindTo(new B, 'B')()); 25 string(4) "B::C"
|
/PHP-8.3/Zend/tests/named_params/ |
H A D | __call.phpt | 23 $test->method(a: 'A', b: 'B'); 24 $test->method(b: 'B'); 26 Test::method(a: 'A', b: 'B'); 27 Test::method(b: 'B'); 32 a: A, b: B 33 a: a, b: B 35 a: A, b: B 36 a: a, b: B
|
/PHP-8.3/Zend/tests/traits/ |
H A D | language005.phpt | 16 trait B { 21 echo 'B'; 26 use A, B { 27 B::smallTalk insteadof A; 28 A::bigTalk insteadof B; 29 B::bigTalk as talk;
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_variation6.phpt | 8 …* Description: Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded… 28 var_dump(mb_encode_mimeheader($str, 'utf-8', 'B', $linefeed)); 39 string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= 40 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?=" 43 string(114) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= 44 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?=" 47 string(116) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=--- =?UTF-8?B?…
|
/PHP-8.3/tests/classes/ |
H A D | __call_005.phpt | 12 class B extends A { 15 B::test2(1,'a'); 21 $b = new B(); 27 object(B)#1 (0) { 30 object(B)#1 (0) { 33 object(B)#1 (0) { 36 object(B)#1 (0) {
|
H A D | property_override_protected_protected.phpt | 14 class B extends A 16 protected $p = "B::p"; 27 $b = new B; 33 B::p 34 B::p
|
H A D | property_override_public_public.phpt | 14 class B extends A 16 public $p = "B::p"; 27 $b = new B; 33 B::p 34 B::p
|
H A D | property_override_protected_public.phpt | 14 class B extends A 16 public $p = "B::p"; 27 $b = new B; 33 B::p 34 B::p
|
/PHP-8.3/Zend/tests/type_declarations/union_types/variance/ |
H A D | invalid_004.phpt | 6 public X|B $prop; 8 class B extends A { 9 public B $prop; 13 Fatal error: Type of B::$prop must be X|B (as in class A) in %s on line %d
|
/PHP-8.3/tests/lang/ |
H A D | 042.phpt | 6 const B = 'foo'; 10 $wrongClassname = 'B'; 12 echo $classname::B."\n"; 13 echo $wrongClassname::B."\n"; 19 Fatal error: Uncaught Error: Class "B" not found in %s:%d
|
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionClass_getProperty_003.phpt | 18 class B extends A { 28 class C extends B { 75 showInfo("B::pubC"); 76 showInfo("B::protC"); 77 showInfo("B::privC"); 117 string(1) "B" 119 string(9) "pubB in B" 125 string(1) "B" 185 string(1) "B" 193 string(1) "B" [all …]
|
H A D | bug47254.phpt | 15 class B extends A 20 $B = new B(); 21 $R = new ReflectionObject($B); 32 [class] => B
|
H A D | ReflectionMethod_getDocComment_basic.phpt | 33 class B extends A { 38 * My Doc Comment for B::privf 47 /** My Doc Comment for B::protStatf 57 foreach (array('A', 'B') as $class) { 90 ---> Doc comment for B::f(): 94 ---> Doc comment for B::privf(): 96 * My Doc Comment for B::privf 100 ---> Doc comment for B::protStatf(): 101 string(%d) "/** My Doc Comment for B::protStatf 109 ---> Doc comment for B::finalStatPubf():
|
/PHP-8.3/Zend/tests/type_declarations/dnf_types/redundant_types/ |
H A D | less_restrive_type_constraint_already_present003.phpt | 7 interface B {} 10 function test(): (A&B)|(A&B&C) {} 15 Fatal error: Type A&B&C is redundant as it is more restrictive than type A&B in %s on line %d
|
H A D | less_restrive_type_constraint_already_present004.phpt | 7 interface B {} 10 function test(): (A&B&C)|(A&B) {} 15 Fatal error: Type A&B&C is redundant as it is more restrictive than type A&B in %s on line %d
|