Home
last modified time | relevance | path

Searched refs:A (Results 101 – 125 of 1588) sorted by relevance

12345678910>>...64

/PHP-8.2/ext/reflection/tests/
H A Dbug48336.phpt5 class A {
8 class B extends A {
26 $class = 'A';
27 for($class = 'A'; $class <= 'F'; $class ++) {
33 print('N/A');
39 A => N/A
H A DReflectionClass_toString_002.phpt8 Class A {
11 Class B extends A {
20 foreach (array('A', 'B', 'C', 'D') as $class) {
28 ----( Reflection class A: )----
29 Class [ <user> class A ] {
53 Class [ <user> class B extends A ] {
69 Method [ <user, overwrites A, prototype A> public method f ] {
93 Method [ <user, inherits B, prototype A> public method f ] {
117 Method [ <user, overwrites B, prototype A> public method f ] {
H A Dbug79487.phpt13 class A {
14 public static $a = 'A old';
16 class B extends A {
21 A::$a = 'A new';
33 string(5) "A new"
H A DReflectionClass_export_array_bug72222.phpt5 Class A {
6 const A = 8;
9 echo new ReflectionClass("A"), "\n";
12 Class [ <user> class A ] {
16 Constant [ public int A ] { 8 }
H A DReflectionObject_isInstance_basic.phpt5 class A {}
6 class B extends A {}
9 $classes = array("A", "B", "X");
11 $instances = array( "myA" => new A,
25 is myA a A? bool(true)
26 is myB a A? bool(true)
27 is myX a A? bool(false)
/PHP-8.2/ext/pdo/tests/
H A Dpdo_007.phpt19 $db->exec("INSERT INTO test VALUES('A', 'A')");
20 $db->exec("INSERT INTO test VALUES('B', 'A')");
34 ["A"]=>
37 string(1) "A"
42 string(1) "A"
51 ["A"]=>
54 string(1) "A"
59 string(1) "A"
/PHP-8.2/Zend/tests/
H A Dbug60833.phpt5 class A {
6 static $x = "A";
13 class B extends A {
26 object(A)#2 (0) {
28 object(A)#2 (0) {
32 object(A)#2 (0) {
H A Dbug64239_3.phpt5 class A {
9 class C extends A {
21 $a = new A();
30 #0 %s(%d): A->Bmethod()
31 #0 %s(%d): A->t2method()
33 #0 %s(%d): A->t2method()
H A Dbug44653.phpt5 namespace A;
10 class A {
17 var_dump(\A\XX);
18 A::fooBar();
19 \A\fooBar();
27 A\fooBar
H A Dlsb_024.phpt6 class A {
7 private static $value = 'A';
13 class B extends A {
16 class C extends A {
19 A::out();
23 A
H A Dbug30828.phpt5 class A {
31 class B extends A {
50 #0 %sbug30828.php(30): A->__construct()
52 A->__construct
54 #0 %sbug30828.php(34): A->foo()
56 A->foo
58 #0 %sbug30828.php(38): A::bar()
60 A::bar
H A Dlsb_023.phpt6 class A {
11 private static function value() { return 'A'; }
13 class B extends A {
16 class C extends A {
19 A::out();
24 A
H A Dclosure_044.phpt5 /* A non-static closure has a bound instance if it has a scope
8 $nonstaticUnscoped = function () { var_dump(isset(A::$priv)); var_dump(isset($this)); };
10 class A {
13 return function() { var_dump(isset(A::$priv)); var_dump(isset($this)); };
17 $a = new A();
29 $d = $nonstaticUnscoped->bindTo(new A, null); $d(); echo "\n";
30 $d = $nonstaticScoped->bindTo(new A, null); $d(); echo "\n";
33 $d = $nonstaticUnscoped->bindTo(null, 'A'); $d(); echo "\n";
34 $d = $nonstaticScoped->bindTo(null, 'A'); var_dump($d); echo "\n";
37 $d = $nonstaticUnscoped->bindTo(new A, 'A'); $d(); echo "\n";
[all …]
H A Dgh10709_2.phpt7 public $prop = A::C;
11 class A { const C = "A"; }
25 string(1) "A"
29 string(1) "A"
/PHP-8.2/ext/standard/tests/serialize/
H A Dbug31402.phpt17 var $A = array();
21 $this->A[1] = new TestX(1);
23 $this->A[2] = & $obj;
24 $this->A[3] = & $this->A[2];
25 $this->B = $this->A[1];
38 ["A"]=>
63 ["A"]=>
/PHP-8.2/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload_error4.phpt7 if ($class == 'A') {
8 class A {
11 var_dump(new A);
13 class B extends A {
24 public function method(): A {}
34 object(A)#2 (0) {
39 Fatal error: Declaration of Y::method(): A must be compatible with X::method(): B in %s on line %d
H A Dclass_order_autoload_error8.phpt7 if ($class == 'A') {
8 class A
13 var_dump(new A);
15 class B extends A
22 class X extends A {}
34 object(A)#2 (0) {
39 Fatal error: Declaration of B::m(): X must be compatible with A::m(): B in %s on line %d
H A Dclass_order_autoload_error9.phpt7 if ($class == 'A') {
8 class A
13 var_dump(new A);
15 class B extends A
25 class Y extends A {}
34 object(A)#2 (0) {
39 Fatal error: Declaration of B::m2(): Y must be compatible with A::m2(): B in %s on line %d
/PHP-8.2/Zend/tests/return_types/
H A Dinheritance003.phpt6 interface A {
7 function foo(): A;
10 class B implements A {
15 Fatal error: Declaration of B::foo(): stdClass must be compatible with A::foo(): A in %s on line %d
H A Dinheritance001.phpt6 class A {
7 function foo(): A {}
10 class B extends A {
15 Fatal error: Declaration of B::foo(): stdClass must be compatible with A::foo(): A in %s on line %d
H A Dinheritance002.phpt6 abstract class A {
7 abstract function foo(): A;
10 class B extends A {
15 Fatal error: Declaration of B::foo(): stdClass must be compatible with A::foo(): A in %s on line %d
/PHP-8.2/ext/standard/tests/general_functions/
H A Dbug52138.data8 A=1
9 B=A "A" A
/PHP-8.2/Zend/tests/traits/
H A Dstatic_forward_static_call.phpt10 return 'Forwarded '.forward_static_call(array('A', 'test'));
14 class A {
16 return "Test A";
20 class B extends A {
28 Forwarded Test A
/PHP-8.2/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-64.macros52 A##ba ^= Da; \
53 Bba = A##ba; \
54 A##ge ^= De; \
56 A##ki ^= Di; \
58 A##mo ^= Do; \
60 A##su ^= Du; \
74 A##bo ^= Do; \
76 A##gu ^= Du; \
78 A##ka ^= Da; \
80 A##me ^= De; \
[all …]
/PHP-8.2/Zend/tests/type_declarations/intersection_types/variance/
H A Dinvalid2.phpt6 interface A {}
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…

Completed in 40 milliseconds

12345678910>>...64