Home
last modified time | relevance | path

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

12345678910>>...36

/php-src/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-src/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-src/Zend/tests/
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 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 Dbug71428.3.phpt6 class B { public function m(A $a = NULL, $n) { echo "B.m";} };
7 class C extends B { public function m(A $a , $n) { echo "C.m";} };
10 Deprecated: B::m(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullabl…
12 Fatal error: Declaration of C::m(A $a, $n) must be compatible with B::m(?A $a, $n) in %sbug71428.3.…
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-src/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-src/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-src/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 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:
H A Dbug79683.phpt16 class B
21 $b = new B();
32 object(B)#1 (1) {
33 ["prop2":"B":private]=>
H A DReflectionClass_isInstance_basic.phpt6 class B extends A {}
13 $classes = array("A", "B", "C", "I", "X");
16 "myB" => new B,
36 is myA a B? bool(false)
37 is myB a B? bool(true)
38 is myC a B? bool(false)
39 is myX a B? bool(false)
/php-src/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-src/ext/mbstring/tests/
H A Dbug49354.phpt7 $crap = 'AåBäCöDü'; // sequence of 1-byte and 2-byte chars: [41 c3a5 42 c3a4 43 c3b6 44 c3bc]
17 string(12) "AåBäCöDü"
18 string(11) "åBäCöDü"
19 string(11) "åBäCöDü"
20 string(9) "BäCöDü"
/php-src/ext/dom/tests/modern/spec/
H A Dbug55294.phpt10 <B>
12 </B>
18 $node = $bDOM->importNode($aDOM->getElementsByTagNameNS('http://example.com/A', 'B')->item(0), true…
26 <B xmlns="http://example.com/A">
28 </B>
/php-src/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-src/ext/xml/tests/
H A Dxml_set_object_multiple_times.phpt23 class B {
25 echo "B::start_element($name)\n";
28 echo "B::end_element($name)\n";
31 echo "B::PIHandler($target)\n";
36 $b = new B;
53 B::start_element(CHILD)
/php-src/tests/classes/
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_public.phpt14 class B extends A
16 public $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 28 milliseconds

12345678910>>...36