Home
last modified time | relevance | path

Searched refs:B (Results 51 – 75 of 988) sorted by relevance

12345678910>>...40

/php-src/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload1.phpt9 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 Dclass_order_autoload4.phpt13 } 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-src/ext/standard/tests/serialize/
H A Dbug62836_1.phpt5 $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 Dbug62836_2.phpt5 $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-src/Zend/tests/property_hooks/
H A Doverride_implicit_with_explicit.phpt10 class B extends A {
21 $b = new B;
28 B::B::$prop::set
29 B::B::$prop::get
H A Dplain_to_hook.phpt10 class B extends A {
13 return 'B::$prop::get()';
16 echo "B::\$prop::set($value)\n";
25 $b = new B();
32 B::$prop::set(42)
33 B::$prop::get()
H A Doverride_add_get.phpt12 class B extends A {
27 $b = new B;
35 B::B::$prop::set
36 B::B::$prop::get
/php-src/ext/dom/tests/
H A DDOMNode_insertBefore.phpt16 $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-src/Zend/tests/
H A Dbug44653.phpt9 namespace B;
13 class B {
20 B::fooBar();
22 \B\fooBar();
29 B\fooBar
30 B\fooBar
H A Dbug76860.phpt13 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 Dbug76860_2.phpt13 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 Dgh10709_2.phpt6 class B {
12 var_dump(new B());
16 var_dump(new B());
23 object(B)#2 (1) {
27 object(B)#2 (1) {
H A Dno_class_const_propagation_in_closures.phpt16 class B {
17 const C = 'B::C';
21 var_dump($f->bindTo(new B, 'B')());
25 string(4) "B::C"
/php-src/Zend/tests/named_params/
H A D__call.phpt23 $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-src/Zend/tests/traits/
H A Dlanguage005.phpt16 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-src/ext/mbstring/tests/
H A Dmb_encode_mimeheader_variation6.phpt8 …* 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-src/tests/classes/
H A D__call_005.phpt12 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 Dproperty_override_protected_protected.phpt14 class B extends A
16 protected $p = "B::p";
27 $b = new B;
33 B::p
34 B::p
/php-src/tests/lang/
H A D042.phpt6 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-src/Zend/tests/type_declarations/union_types/variance/
H A Dinvalid_004.phpt6 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-src/ext/reflection/tests/
H A DReflectionClass_getProperty_003.phpt18 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 Dbug47254.phpt15 class B extends A
20 $B = new B();
21 $R = new ReflectionObject($B);
32 [class] => B
H A DReflectionMethod_getDocComment_basic.phpt33 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-src/Zend/tests/type_declarations/dnf_types/redundant_types/
H A Dless_restrive_type_constraint_already_present003.phpt7 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 Dless_restrive_type_constraint_already_present004.phpt7 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

Completed in 33 milliseconds

12345678910>>...40