Home
last modified time | relevance | path

Searched refs:A (Results 151 – 175 of 1312) sorted by relevance

12345678910>>...53

/PHP-8.0/tests/classes/
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 18
H A Dconstants_visibility_001.phpt5 class A {
15 var_dump(A::publicConst);
16 A::staticConstDump();
17 (new A())->constDump();
H A Dproperty_override_protected_private.phpt5 class A
7 protected $p = "A::p";
14 class B extends A
24 $a = new A;
32 Fatal error: Access level to B::$p must be protected (as in class A) or weaker in %s on line 18
H A Dconstants_visibility_error_003.phpt2 A redeclared class constant must have the same or higher visibility
6 class A {
10 class B extends A {
15 Fatal error: Access level to B::publicConst must be public (as in class A) in %s on line 9
H A Dconstants_visibility_error_004.phpt2 A redeclared class constant must have the same or higher visibility
6 class A {
10 class B extends A {
15 Fatal error: Access level to B::protectedConst must be protected (as in class A) or weaker in %s on…
/PHP-8.0/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.0/ext/oci8/tests/
H A Dbug45458.phpt14 $stmt = 'select dummy "A", dummy "20" from dual';
21 var_dump($data[0]["A"]);
31 var_dump($data["A"]);
33 var_dump($data["A"][0]);
45 ["A"]=>
52 ["A"]=>
61 ["A"]=>
/PHP-8.0/Zend/tests/
H A Dclosure_043.phpt9 $staticUnscoped = static function () { var_dump(isset(A::$priv)); var_dump(isset($this)); };
11 class A {
14 return static function() { var_dump(isset(A::$priv)); var_dump(isset($this)); };
18 $staticScoped = A::getStaticClosure();
29 $d = $staticUnscoped->bindTo(new A, null);
30 $d = $staticScoped->bindTo(new A, null);
33 $d = $staticUnscoped->bindTo(null, 'A'); $d(); echo "\n";
34 $d = $staticScoped->bindTo(null, 'A'); $d(); echo "\n";
37 $d = $staticUnscoped->bindTo(new A, 'A');
38 $d = $staticScoped->bindTo(new A, 'A');
H A Dbug60833.phpt5 class A {
6 static $x = "A";
13 class B extends A {
29 object(A)#%d (0) {
32 object(A)#%d (0) {
H A Dclosure_059.phpt5 class A {
11 $a = new A;
14 $f = function (A $a){};
37 Exception: {closure}(): Argument #1 ($a) must be of type A, B given, called in %s on line %d
38 Exception: {closure}(): Argument #1 ($a) must be of type A, B given
39 Exception: {closure}(): Argument #1 ($a) must be of type A, B given
H A Dbug66252.phpt5 class A {
6 const HW = "this is A";
8 class B extends A {
15 this is A extended by B
H A Dbug47343.phpt5 class A
23 public function __construct($A)
25 $this->A = $A;
35 $Aobj = new A;
H A Dget_class_vars_005.phpt6 class A {
11 class B extends A {
14 var_dump(get_class_vars('A'));
19 var_dump(get_class_vars('A'));
H A Dlist_keyed_evaluation_order.phpt8 $a = new StringCapable("A");
11 $e = new IndexableRetrievable("E", new Indexable(["A" => "value for offset A", "C" => "value for of…
30 A evaluated.
31 Offset A retrieved.
32 Offset B set to value for offset A.
/PHP-8.0/ext/reflection/tests/
H A Dbug43926.phpt11 class A extends D {
14 class C extends A {
17 $ra = new ReflectionClass('A');
27 print("Is? A ". ($ra->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof A) ? …
32 print("Is? A ". ($ra->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof A) ? …
37 print("Is? A ". ($ra->isInstance($cd) ? 'true' : 'false') .", instanceof: ". (($cd instanceof A) ? …
42 print("Is? A ". ($ra->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof A) ? …
49 Is? A true, instanceof: true
54 Is? A true, instanceof: true
59 Is? A false, instanceof: false
[all …]
H A DReflectionClass_getProperty_004.phpt8 class A {
18 class B extends A {
75 showInfo("A::pubC");
76 showInfo("A::protC");
77 showInfo("A::privC");
103 string(1) "A"
105 string(9) "pubA in A"
111 string(1) "A"
165 string(1) "A"
173 string(1) "A"
[all …]
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)
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
/PHP-8.0/ext/spl/tests/
H A DSplFixedArray_override_getIterator.phpt5 class A extends SplFixedArray
11 echo "In A: key={$iterator->key()} value={$iterator->current()}\n";
28 $a = new A(3);
41 In A: key=0 value=d
43 In A: key=1 value=e
45 In A: key=2 value=f
/PHP-8.0/ext/pdo/tests/
H A Dpdo_015.phpt18 $db->exec('INSERT INTO test VALUES(1, \'A\', \'A2\')');
19 $db->exec('INSERT INTO test VALUES(2, \'A\', \'B2\')');
60 string(1) "A"
65 string(1) "A"
70 string(1) "A"
72 string(1) "A"
82 string(1) "A"
84 string(1) "A"
93 ["A"]=>
/PHP-8.0/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.0/Zend/tests/traits/
H A Dbug55137.phpt6 trait A {
13 use A {
14 A::foo as public;
15 A::bar as public baz;
H A Dbug60165b.phpt6 trait A {
11 use A {
12 A::nonExistent as barA;
17 Fatal error: An alias was defined for A::nonExistent but this method does not exist in %s on line %d
/PHP-8.0/ext/standard/tests/class_object/
H A Dforward_static_call_003.phpt6 class A
8 const NAME = 'A';
14 class B extends A
34 A::test();
42 A
/PHP-8.0/ext/standard/tests/general_functions/
H A Dphpinfo.phpt33 Thread Safety => %s%A
49 %A
51 %A
53 %A
55 %A
57 %A
59 %A

Completed in 36 milliseconds

12345678910>>...53