/PHP-8.2/Zend/tests/ |
H A D | gh9407.phpt | 6 class A { 13 class B extends A { 14 public function duplicate(): A {} 24 Fatal error: Declaration of B::duplicate(): A must be compatible with A::duplicate(): static in %s …
|
H A D | gh7792_4.phpt | 6 interface A {} 8 enum Foo implements A, A {} 12 Fatal error: Enum Foo cannot implement previously implemented interface A in %s on line %d
|
H A D | constants_007.phpt | 7 const A = 'b'; 12 const A = 'd'; 15 var_dump(a, A, a::a, a::A);
|
H A D | bug70187.phpt | 5 class A { 9 $a = new A; 15 object(A)#1 (1) { 19 string(12) "O:1:"A":0:{}"
|
/PHP-8.2/Zend/tests/type_declarations/union_types/variance/ |
H A D | valid.phpt | 9 class A { 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.2/Zend/tests/enum/ |
H A D | weak-map.phpt | 7 case A; 11 $map[TestEnum::A] = 'a string'; 12 var_dump($map[TestEnum::A]); 13 var_dump($map[TestEnum::A]);
|
/PHP-8.2/Zend/tests/return_types/ |
H A D | 027.phpt | 6 class A {} 7 class B extends A {} 10 var_dump($c->bindTo(null, 'B')(new A)); 13 object(A)#%d (0) {
|
/PHP-8.2/tests/classes/ |
H A D | property_override_protectedStatic_privateStatic.phpt | 5 class A 7 protected static $p = "A::p (static)"; 14 class B extends A 24 A::showA(); 30 Fatal error: Access level to B::$p must be protected (as in class A) or weaker in %s on line 11
|
H A D | property_override_protected_privateStatic.phpt | 5 class A 7 protected $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_protected_protectedStatic.phpt | 5 class A 7 protected $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_protected_publicStatic.phpt | 5 class A 7 protected $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_publicStatic_privateStatic.phpt | 5 class A 7 public static $p = "A::p (static)"; 14 class B extends A 24 A::showA(); 30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
H A D | property_override_publicStatic_protectedStatic.phpt | 5 class A 7 public static $p = "A::p (static)"; 14 class B extends A 24 A::showA(); 30 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_privateStatic.phpt | 5 class A 7 public $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_public_protectedStatic.phpt | 5 class A 7 public $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_public_publicStatic.phpt | 5 class A 7 public $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
/PHP-8.2/Zend/tests/type_declarations/ |
H A D | typed_properties_089.phpt | 6 class A { 20 $a = new A; 24 $a = new A; 31 object(A)#1 (1) { 35 object(A)#%d (1) {
|
/PHP-8.2/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload2.phpt | 7 if ($class === 'A') { 8 class A { 11 var_dump(new A); 13 class B extends A { 29 object(A)#2 (0) {
|
/PHP-8.2/Zend/tests/traits/ |
H A D | language005.phpt | 7 trait A { 12 echo 'A'; 26 use A, B { 27 B::smallTalk insteadof A; 28 A::bigTalk insteadof B;
|
/PHP-8.2/Zend/tests/closures/ |
H A D | closure_from_callable_lsb.phpt | 6 class A { 12 class B extends A { 15 Closure::fromCallable(['A', 'test'])(); 20 string(1) "A"
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/redundant_types/ |
H A D | duplicate_class_alias_type.phpt | 8 use A as B; 9 function foo(): (X&A)|(X&B) {} 13 Fatal error: Type X&A is redundant with type X&A in %s on line %d
|
/PHP-8.2/ext/session/ |
H A D | mod_files.bat | 17 SET /A Depth=%2 + 0 2>NUL 24 SET /A Bits=%3 + 0 2>NUL 35 SET HashChars=0 1 2 3 4 5 6 7 8 9 A B C D E F 39 FOR %%A IN (%HashChars%) DO ( 40 ECHO Making %%A 41 CALL "%~0" AUTO "%~1\%%~A" %Depth% 47 SET /A ThisDepth=%3 - 1 48 IF /I %ThisDepth% GTR 0 FOR %%A IN (%HashChars%) DO CALL "%~0" AUTO "%~2\%%~A" %ThisDepth%
|
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionClass_getStaticPropertyValue_001.phpt | 8 class A { 14 class B extends A { 20 echo "Retrieving static values from A:\n"; 21 $rcA = new ReflectionClass('A'); 34 echo "\nRetrieving non-existent values from A with no default value:\n"; 51 Retrieving static values from A: 63 Retrieving non-existent values from A with no default value: 64 Property A::$protectedDoesNotExist does not exist 65 Property A::$privateDoesNotExist does not exist
|
H A D | ReflectionClass_isInstance_basic.phpt | 5 class A {} 6 class B extends A {} 13 $classes = array("A", "B", "C", "I", "X"); 15 $instances = array( "myA" => new A, 32 is myA a A? bool(true) 33 is myB a A? bool(true) 34 is myC a A? bool(false) 35 is myX a A? bool(false)
|
/PHP-8.2/ext/pdo/tests/ |
H A D | pdo_015.phpt | 19 $db->exec('INSERT INTO test VALUES(1, \'A\', \'A2\')'); 20 $db->exec('INSERT INTO test VALUES(2, \'A\', \'B2\')'); 61 string(1) "A" 66 string(1) "A" 71 string(1) "A" 73 string(1) "A" 83 string(1) "A" 85 string(1) "A" 94 ["A"]=>
|