Home
last modified time | relevance | path

Searched refs:B (Results 101 – 125 of 895) sorted by relevance

12345678910>>...36

/php-src/tests/classes/
H A Dproperty_override_publicStatic_privateStatic.phpt14 class B extends A
16 private static $p = "B::p (static)";
26 B::showA();
27 B::showB();
30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
H A Dproperty_override_publicStatic_protectedStatic.phpt14 class B extends A
16 protected static $p = "B::p (static)";
26 B::showA();
27 B::showB();
30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
H A Dproperty_override_public_privateStatic.phpt14 class B extends A
16 private static $p = "B::p (static)";
27 $b = new B;
29 B::showB();
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
H A Dproperty_override_public_protectedStatic.phpt14 class B extends A
16 protected static $p = "B::p (static)";
27 $b = new B;
29 B::showB();
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
H A Dproperty_override_public_publicStatic.phpt14 class B extends A
16 public static $p = "B::p (static)";
27 $b = new B;
29 B::showB();
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
H A Dconstants_basic_003.phpt6 class B
19 var_dump(B::$a);
20 var_dump(B::$c);
21 var_dump(B::ca);
22 var_dump(B::cc);
/php-src/ext/standard/tests/class_object/
H A Dbug71442.phpt15 class B extends A
17 const NAME = 'B';
26 B::test('foo');
35 B
36 B more,args
/php-src/Zend/tests/
H A Dbug42211.phpt7 var_dump(property_exists('B', 'publicBar'));
8 var_dump(property_exists('B', 'protectedBar'));
9 var_dump(property_exists('B', 'privateBar'));
13 class B extends A {
21 $b = new B();
H A Dconstant_expressions_classes.phpt13 'B'=> 'class B extends A { const HW = parent::HW." extended by B"; }',
17 'E' => 'class E extends B { use trE; }',
30 printf("B::HW = %s\n", B::HW);
38 B::HW = this is A extended by B
40 E::getHW() = this is A extended by B
H A Dlsb_022.phpt13 class B extends A {
15 echo "B\n";
25 B::foo();
29 B
34 B
37 B
42 B
47 B
H A Dbug45805.phpt19 class B {
26 $m = new ReflectionMethod('B', 'foo');
35 $o = new B;
42 #1 [internal function]: B->foo()
43 #2 %sbug45805.php(%d): ReflectionMethod->invoke(Object(B))
44 #3 %sbug45805.php(%d): B->bar()
H A Dgh10709.phpt6 class B { const C = A::C . "B"; }
10 var_dump(B::C);
14 new B();
H A Dgh14009_005.phpt22 class B extends A {
31 (new B)->foo();
32 (new B)->bar();
37 B::foo -> B::T::test
H A Dbug66252.phpt8 class B extends A {
9 const BHW = parent::HW . " extended by B";
11 const C = B::BHW;
15 this is A extended by B
H A Dbug46246.phpt20 class B extends A
29 $b = new B;
38 Hello from B
39 Hello from B
40 Hello from B
/php-src/ext/reflection/tests/
H A DReflectionClass_toString_002.phpt11 Class B extends A {
14 Class C extends B {
20 foreach (array('A', 'B', 'C', 'D') as $class) {
52 ----( Reflection class B: )----
53 Class [ <user> class B extends A ] {
77 Class [ <user> class C extends B ] {
93 Method [ <user, inherits B, prototype A> public method f ] {
117 Method [ <user, overwrites B, prototype A> public method f ] {
H A DReflectionObject_isInstance_basic.phpt6 class B extends A {}
9 $classes = array("A", "B", "X");
12 "myB" => new B,
28 is myA a B? bool(false)
29 is myB a B? bool(true)
30 is myX a B? bool(false)
H A DReflectionMethod_getDeclaringClass_basic.phpt10 class B extends A {
14 $methodInfo = new ReflectionMethod('B', 'foo');
17 $methodInfo = new ReflectionMethod('B', 'bar');
28 string(1) "B"
/php-src/Zend/tests/type_declarations/dnf_types/
H A Ddnf_intersection_and_single.phpt10 class B {}
16 public (X&Y)|B $prop3;
17 public B|(X&Y) $prop4;
27 public function bar1(B|(X&Y) $v): B|(X&Y) {
31 public function bar2((X&Y)|B $v): (X&Y)|B {
39 $b = new B();
115 object(B)#3 (0) {
117 object(B)#3 (0) {
121 Test::bar1(): Argument #1 ($v) must be of type B|(X&Y), C given, called in %s on line %d
125 Cannot assign C to property Test::$prop3 of type (X&Y)|B
[all …]
/php-src/Zend/tests/type_declarations/intersection_types/variance/
H A Dinvalid2.phpt7 interface B {}
9 class Test implements A, B {}
12 public function foo(): A&B {
17 /* This fails because just A larger than A&B */
26 Fatal error: Declaration of FooChild::foo(): array must be compatible with Foo::foo(): A&B in %s on…
H A Dinvalid_covariance_drop_type1.phpt7 interface B {}
9 class Test implements A, B {}
12 public function foo(): A&B {
17 /* This fails because just A larger than A&B */
26 Fatal error: Declaration of FooChild::foo(): A must be compatible with Foo::foo(): A&B in %s on lin…
/php-src/Zend/tests/named_params/
H A Dcall_user_func_array.phpt14 call_user_func_array($test, ['A', 'B']);
15 call_user_func_array($test, [1 => 'A', 0 => 'B']);
32 call_user_func_array($test, ['A', 'B']);
33 call_user_func_array($test, [1 => 'A', 0 => 'B']);
50 a = A, b = B, c = c
51 a = A, b = B, c = c
62 a = A, b = B, c = c
63 a = A, b = B, c = c
/php-src/ext/pcre/tests/
H A Dpreg_filter.phpt6 $subject = array('1', 'a', '2', 'b', '3', 'A', 'B', '4');
8 $replace = array('A:$0', 'B:$0', 'C:$0');
18 string(5) "B:C:a"
22 string(3) "B:b"
/php-src/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-src/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

Completed in 28 milliseconds

12345678910>>...36