Home
last modified time | relevance | path

Searched refs:B (Results 126 – 150 of 867) sorted by relevance

12345678910>>...35

/PHP-8.3/Zend/tests/
H A Dbug46246.phpt20 class B extends A
29 $b = new B;
38 Hello from B
39 Hello from B
40 Hello from B
H A Dget_class_vars_005.phpt11 class B extends A {
15 var_dump(get_class_vars('B'));
20 var_dump(get_class_vars('B'));
22 new B;
H A Duse_late_binding_conflict.phpt7 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 Dbug33171.phpt10 class B extends A
12 private $c = "B's c";
23 $x = new B;
27 c => B's c
H A Dbug74084.phpt7 $$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 Dbug76869.phpt10 class B extends A {
12 return "B";
15 $b = new B();
23 Exception: Call to protected method B::f() from global scope
H A Dns_091.phpt9 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 Dforward_static_call_array.phpt24 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 Dmb_encode_mimeheader_basic4.phpt21 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 Dstatic_003.phpt19 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 Dgh9516.phpt2 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 Dbug53915.phpt8 const B = self::A;
17 const B = self::A;
21 print_r($rc->getConstant('B'));
27 [B] => 1
H A Dbug48336.phpt8 class B extends A {
12 class C extends B {
26 $classes = ['A', 'B', 'C', 'D', 'E', 'F'];
40 B => B
H A Dbug79683.phpt16 class B
21 $b = new B();
32 object(B)#1 (1) {
33 ["prop2":"B":private]=>
H A DReflectionProperty_getDocComment_basic.phpt26 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 Dinvalid_covariance_drop_type1.phpt7 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 Dinvalid1.phpt7 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 Dtyped_class_constants_inheritance_success2.phpt21 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 Dbug55294.phpt13 <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 Dinvalid1.phpt7 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 Diconv_mime_decode.phpt44 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 Dloading_exception1.phpt13 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 Dproperty_override_private_public.phpt14 class B extends A
16 public $p = "B::p";
27 $b = new B;
34 B::p
H A Dproperty_override_private_private.phpt14 class B extends A
16 private $p = "B::p";
27 $b = new B;
34 B::p
H A Dproperty_override_private_protected.phpt14 class B extends A
16 protected $p = "B::p";
27 $b = new B;
34 B::p

Completed in 25 milliseconds

12345678910>>...35