Home
last modified time | relevance | path

Searched refs:A (Results 126 – 150 of 1852) sorted by relevance

12345678910>>...75

/php-src/Zend/tests/
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();
25 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"
H A Dns_039.phpt5 function foo($a = A) {
8 function bar($a = array(A => B)) {
14 const A = "ok";
15 const B = A;
16 echo A . "\n";
/php-src/Zend/tests/return_types/
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 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 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-src/Zend/tests/property_hooks/
H A Dprivate_override.phpt6 class A {
21 class B extends A {
32 $a = new A;
47 A::$prop2::get
48 A::$prop2::set
50 A::$prop2::get
51 A::$prop2::set
H A Dabstract_prop_not_implemented.phpt6 class A {
10 class B extends A {}
14 …l error: Class A contains 2 abstract methods and must therefore be declared abstract or implement …
/php-src/ext/reflection/tests/
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)
H A Dbug53915.phpt7 const A = 1;
8 const B = self::A;
16 const A = 1;
17 const B = self::A;
26 [A] => 1
H A DReflectionClass_export_basic1.phpt5 Class A {
7 public function pubf(A $a,
17 Class C extends A { }
23 Deprecated: A::pubf(): Implicitly marking parameter $h as nullable is deprecated, the explicit null…
24 Class [ <user> class C extends A ] {
40 Method [ <user, inherits A> public method privf ] {
48 Method [ <user, inherits A> public method pubf ] {
52 Parameter #0 [ <required> A $a ]
H A DReflectionClass_getProperty_003.phpt8 class A {
18 class B extends A {
71 showInfo("A::pubC");
72 showInfo("A::protC");
73 showInfo("A::privC");
99 string(1) "A"
101 string(9) "pubA in A"
107 string(1) "A"
161 string(1) "A"
169 string(1) "A"
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dbug52138.data8 A=1
9 B=A "A" A
/php-src/ext/reflection/tests/property_hooks/
H A Dbug_001.phpt6 class A {
10 $a = new A();
11 $b = new A();
20 Deprecated: Creation of dynamic property A::$dyn is deprecated in %s on line %d
22 Warning: Undefined property: A::$dyn in %s on line %d
25 Deprecated: Creation of dynamic property A::$dyn is deprecated in %s on line %d
/php-src/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-src/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-src/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…
/php-src/ext/spl/tests/
H A Dregexiterator_getregex.phpt20 $regexIterator = new RegexIterator($iterator, '|\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b|');
29 string(43) "|\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b|"
/php-src/Zend/tests/prop_const_expr/
H A Drhs_prop_not_found.phpt6 enum A {
10 const A_prop = A::B->prop;
13 const A_prop_nullsafe = A::B?->prop;
18 Warning: Undefined property: A::$prop in %s on line %d
21 Warning: Undefined property: A::$prop in %s on line %d
/php-src/Zend/tests/numeric_strings/
H A Dinvalid_numeric_strings_must_generate_warning.phpt116 Warning: A non-numeric value encountered in %s on line %d
118 Warning: A non-numeric value encountered in %s on line %d
123 Warning: A non-numeric value encountered in %s on line %d
125 Warning: A non-numeric value encountered in %s on line %d
130 Warning: A non-numeric value encountered in %s on line %d
132 Warning: A non-numeric value encountered in %s on line %d
137 Warning: A non-numeric value encountered in %s on line %d
139 Warning: A non-numeric value encountered in %s on line %d
144 Warning: A non-numeric value encountered in %s on line %d
146 Warning: A non-numeric value encountered in %s on line %d
[all …]
/php-src/tests/classes/
H A Dconstants_visibility_002.phpt5 class A {
15 A::staticConstDump();
16 (new A())->constDump();
18 constant('A::protectedConst');
27 Cannot access protected constant A::protectedConst
H A Dconstants_visibility_003.phpt5 class A {
15 A::staticConstDump();
16 (new A())->constDump();
18 constant('A::privateConst');
27 Cannot access private constant A::privateConst

Completed in 28 milliseconds

12345678910>>...75