/PHP-8.3/Zend/tests/ |
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 | 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 | 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 | bug33171.phpt | 10 class B extends A 12 private $c = "B's c"; 23 $x = new B; 27 c => B's c
|
H A D | bug74084.phpt | 7 $$A += $$B['a'] = &$$C; 10 $$A -= $$B['a'] = &$$C; 16 $$A *= $$B['a'] = &$$C; 22 $$A /= $$B['a'] = &$$C; 28 $$A **= $$B['a'] = &$$C;
|
H A D | bug76869.phpt | 10 class B extends A { 12 return "B"; 15 $b = new B(); 23 Exception: Call to protected method B::f() from global scope
|
H A D | ns_091.phpt | 9 class B { function __construct() {echo __METHOD__,"\n";} } 13 use Foo\Bar\{ A, Baz\B }; 15 new B; 20 Foo\Bar\Baz\B::__construct
|
/PHP-8.3/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
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_basic4.phpt | 21 var_dump(mb_encode_mimeheader("?", "ASCII", "B")); 25 var_dump(mb_encode_mimeheader("=", "ASCII", "B")); 29 var_dump(mb_encode_mimeheader("_", "ASCII", "B")); 36 var_dump(mb_encode_mimeheader(" ", "ASCII", "B")); 145 string(16) "=?UTF-8?B?Pw==?=" 146 string(19) "=?US-ASCII?B?Pw==?=" 148 string(19) "=?US-ASCII?B?PQ==?=" 150 string(19) "=?US-ASCII?B?Xw==?=" 152 string(19) "=?US-ASCII?B?fw==?=" 164 string(21) "o =?US-ASCII?B?AA==?=" [all …]
|
/PHP-8.3/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-8.3/Zend/tests/type_declarations/dnf_types/ |
H A D | gh9516.phpt | 2 GH-9516: (A&B)|D as a param should allow AB or D. Not just A. 7 interface B { } 11 class B_ implements B {} 12 class AB_ implements A, B {} 16 public function method1((A&B)|D $arg): void {} 17 public function method2((B&A)|D $arg): void {} 18 public function method3(D|(A&B) $arg): void {} 19 public function method4(D|(B&A) $arg): void {} 142 T::method1(): Argument #1 ($arg) must be of type (A&B)|D, A_ given, called in %s on line %d 143 T::method1(): Argument #1 ($arg) must be of type (A&B)|D, B_ given, called in %s on line %d [all …]
|
/PHP-8.3/ext/reflection/tests/ |
H A D | bug53915.phpt | 8 const B = self::A; 17 const B = self::A; 21 print_r($rc->getConstant('B')); 27 [B] => 1
|
H A D | bug48336.phpt | 8 class B extends A { 12 class C extends B { 26 $classes = ['A', 'B', 'C', 'D', 'E', 'F']; 40 B => B
|
H A D | bug79683.phpt | 16 class B 21 $b = new B(); 32 object(B)#1 (1) { 33 ["prop2":"B":private]=>
|
H A D | ReflectionProperty_getDocComment_basic.phpt | 26 class B extends A { 34 foreach(array('A', 'B') as $class) { 76 ---> Doc comment for B::$a: 80 ---> Doc comment for B::$b: 84 ---> Doc comment for B::$c: 88 ---> Doc comment for B::$e: 92 ---> Doc comment for B::$d: 98 ---> Doc comment for B::$f:
|
/PHP-8.3/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | invalid_covariance_drop_type1.phpt | 7 interface B {} 10 class Test implements A, B {} 13 public function foo(): (A&B)|X { 18 /* This fails because just A larger than A&B */ 27 Fatal error: Declaration of FooChild::foo(): A|X must be compatible with Foo::foo(): (A&B)|X in %s …
|
H A D | invalid1.phpt | 7 interface B extends A {} 11 class Test implements B, C {} 14 public function foo(): (B&C)|X { 19 /* This fails because A is a parent type for B */ 28 Fatal error: Declaration of FooChild::foo(): (A&C)|X must be compatible with Foo::foo(): (B&C)|X in…
|
/PHP-8.3/Zend/tests/type_declarations/ |
H A D | typed_class_constants_inheritance_success2.phpt | 21 class B extends A { 32 var_dump(B::CONST1); 33 var_dump(B::CONST2); 34 var_dump(B::CONST3); 35 var_dump(B::CONST4); 36 var_dump(B::CONST5);
|
/PHP-8.3/ext/dom/tests/ |
H A D | bug55294.phpt | 13 <B> 15 </B> 21 $node = $bDOM->importNode($aDOM->getElementsByTagNameNS('http://example.com/A', 'B')->item(0), true… 29 <B xmlns="http://example.com/A"> 31 </B>
|
/PHP-8.3/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | invalid1.phpt | 7 interface B extends A {} 10 class Test implements B, C {} 13 public function foo(): B&C { 18 /* This fails because A is a parent type for B */ 27 Fatal error: Declaration of FooChild::foo(): A&C must be compatible with Foo::foo(): B&C in %s on l…
|
/PHP-8.3/ext/iconv/tests/ |
H A D | iconv_mime_decode.phpt | 44 From: =?ISO-2022-JP?B?GyRCJTUbKEI=?= 45 =?ISO-2022-JP?B?GyRCJXMlVxsoQg==?= 46 =?ISO-2022-JP?B?GyRCJWtKOBsoQg==?= 47 =?ISO-2022-JP?B?GyRCO3pOcxsoQg==?= 48 =?ISO-2022-JP?B?GyRCJTUlcxsoQg==?= 49 =?ISO-2022-JP?B?GyRCJVclaxsoQg==?= 50 =?ISO-2022-JP?B?GyRCSjg7ehsoQg==?= 51 =?ISO-2022-JP?B?GyRCTnNGfBsoQg==?= 52 =?ISO-2022-JP?B?GyRCS1w4bBsoQg==?= 53 =?ISO-2022-JP?B?GyRCJUYlLRsoQg==?= [all …]
|
/PHP-8.3/Zend/tests/type_declarations/variance/ |
H A D | loading_exception1.phpt | 13 class B extends A { 23 // Tie up B in a variance obligation. 28 public function test(): B {} 32 // Fallback to fatal error, as we can't unlink class B anymore. 34 class B extends A implements I { 45 Fatal error: During inheritance of B with variance dependencies: Uncaught Exception: Class A does n…
|
/PHP-8.3/tests/classes/ |
H A D | property_override_private_public.phpt | 14 class B extends A 16 public $p = "B::p"; 27 $b = new B; 34 B::p
|
H A D | property_override_private_private.phpt | 14 class B extends A 16 private $p = "B::p"; 27 $b = new B; 34 B::p
|
H A D | property_override_private_protected.phpt | 14 class B extends A 16 protected $p = "B::p"; 27 $b = new B; 34 B::p
|