Searched refs:B (Results 151 – 175 of 867) sorted by relevance
12345678910>>...35
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionClass_isInstance_basic.phpt | 6 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)
|
H A D | ReflectionClass_getNamespaceName.phpt | 5 namespace A\B; 15 $function = new \ReflectionClass('A\\B\\Foo'); 27 string(7) "A\B\Foo" 28 string(3) "A\B"
|
H A D | ReflectionFunction_getNamespaceName.phpt | 5 namespace A\B; 14 $function = new \ReflectionFunction('A\\B\\foo'); 26 string(7) "A\B\foo" 27 string(3) "A\B"
|
H A D | bug79487.phpt | 16 class B extends A { 17 public static $b = 'B old'; 20 $rc = new ReflectionClass(B::class); 31 string(5) "B old"
|
/PHP-8.3/sapi/phpdbg/tests/ |
H A D | info_002.phpt | 12 >00010: print B; 18 %s 1 int B 25 const B = C::D * A; 31 print B;
|
/PHP-8.3/tests/classes/ |
H A D | property_override_privateStatic_private.phpt | 14 class B extends A 16 private $p = "B::p"; 26 $b = new B; 33 B::p
|
H A D | property_override_privateStatic_protected.phpt | 14 class B extends A 16 protected $p = "B::p"; 26 $b = new B; 33 B::p
|
H A D | property_override_privateStatic_public.phpt | 14 class B extends A 16 public $p = "B::p"; 26 $b = new B; 33 B::p
|
H A D | constants_visibility_004.phpt | 10 class B extends A { 18 B::checkConstants(); 24 Fatal error: Uncaught Error: Undefined constant B::Z in %s:%d 26 #0 %s(15): B::checkConstants()
|
H A D | property_override_protectedStatic_protected.phpt | 14 class B extends A 16 protected $p = "B::p"; 26 $b = new B; 31 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 11
|
H A D | property_override_protectedStatic_public.phpt | 14 class B extends A 16 public $p = "B::p"; 26 $b = new B; 31 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 11
|
H A D | property_override_publicStatic_protected.phpt | 14 class B extends A 16 protected $p = "B::p"; 26 $b = new B; 31 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 11
|
H A D | property_override_publicStatic_public.phpt | 14 class B extends A 16 public $p = "B::p"; 26 $b = new B; 31 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 11
|
H A D | property_override_public_private.phpt | 14 class B extends A 16 private $p = "B::p"; 27 $b = new B; 32 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
H A D | property_override_public_protected.phpt | 14 class B extends A 16 protected $p = "B::p"; 27 $b = new B; 32 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
/PHP-8.3/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | invalid_invariance2.phpt | 9 class B {} 12 public (X&Y)|B $prop; 15 public A|B $prop; 21 Fatal error: Type of Test2::$prop must be (X&Y)|B (as in class Test) in %s on line %d
|
/PHP-8.3/Zend/tests/type_declarations/intersection_types/ |
H A D | parsing_comment.phpt | 8 Comment // ** / / * * **/ B $p) {} 10 B $p) {} 12 B $p) {} 14 B $p) {}
|
H A D | parameter.phpt | 7 interface B {} 9 class Foo implements A, B {} 12 function foo(A&B $bar) { 28 foo(): Argument #1 ($bar) must be of type A&B, Bar given, called in %s on line %d
|
/PHP-8.3/Zend/tests/ |
H A D | bug48215.phpt | 15 class B extends A 27 $b = new B(); 31 B::__construct 33 B::A
|
H A D | lsb_024.phpt | 13 class B extends A { 14 protected static $value = 'B'; 20 B::out(); 24 B
|
H A D | bug71428.3.phpt | 6 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 Fatal error: Declaration of C::m(A $a, $n) must be compatible with B::m(?A $a, $n) in %sbug71428.3.…
|
H A D | ns_060.phpt | 6 use Bar\A as B; 8 $a = new B; 13 use Foo\A as B; 14 $a = new B;
|
/PHP-8.3/Zend/tests/type_declarations/union_types/variance/ |
H A D | valid.phpt | 14 public function method2(B|string $a): A|string {} 15 public function method3(Y|B $a): X|A {} 18 class B extends A { 23 public function method2(A|string $a): B|string {} 24 public function method3(A|X $a): B|Y {}
|
/PHP-8.3/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error3.phpt | 11 } else if ($class == 'B') { 12 class B extends A { 25 public function method(): B {} 34 $b = new B; 38 Fatal error: Declaration of R::method(): A must be compatible with Q::method(): B in %s on line %d
|
H A D | loading_exception2.phpt | 15 class B extends A implements I { 25 // Tie up B in a variance obligation. 30 public function test(): B {} 34 // Fallback to fatal error, as we can't unlink class B anymore. 36 class B extends A implements I, J { 47 Fatal error: During inheritance of B with variance dependencies: Uncaught Exception: Class I does n…
|
Completed in 36 milliseconds
12345678910>>...35