Home
last modified time | relevance | path

Searched refs:A (Results 176 – 200 of 1588) sorted by relevance

12345678910>>...64

/PHP-8.2/Zend/tests/
H A Dgh9407.phpt6 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 Dgh7792_4.phpt6 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 Dconstants_007.phpt7 const A = 'b';
12 const A = 'd';
15 var_dump(a, A, a::a, a::A);
H A Dbug70187.phpt5 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 Dvalid.phpt9 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 Dweak-map.phpt7 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 D027.phpt6 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 Dproperty_override_protectedStatic_privateStatic.phpt5 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 Dproperty_override_protected_privateStatic.phpt5 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 Dproperty_override_protected_protectedStatic.phpt5 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 Dproperty_override_protected_publicStatic.phpt5 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 Dproperty_override_publicStatic_privateStatic.phpt5 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 Dproperty_override_publicStatic_protectedStatic.phpt5 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 Dproperty_override_public_privateStatic.phpt5 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 Dproperty_override_public_protectedStatic.phpt5 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 Dproperty_override_public_publicStatic.phpt5 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 Dtyped_properties_089.phpt6 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 Dclass_order_autoload2.phpt7 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 Dlanguage005.phpt7 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 Dclosure_from_callable_lsb.phpt6 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 Dduplicate_class_alias_type.phpt8 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 Dmod_files.bat17 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 DReflectionClass_getStaticPropertyValue_001.phpt8 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 DReflectionClass_isInstance_basic.phpt5 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 Dpdo_015.phpt19 $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"]=>

Completed in 26 milliseconds

12345678910>>...64