Home
last modified time | relevance | path

Searched refs:A (Results 226 – 250 of 1852) sorted by relevance

12345678910>>...75

/php-src/Zend/tests/type_declarations/dnf_types/
H A Dgh9516.phpt2 GH-9516: (A&B)|D as a param should allow AB or D. Not just A.
6 interface A { }
10 class A_ implements A {}
12 class AB_ implements A, B {}
16 public function method1((A&B)|D $arg): void {}
17 public function method2((B&A)|D $arg): void {}
18 public function method3(D|(A&B) $arg): void {}
19 public function method4(D|(B&A) $arg): void {}
142 T::method1(): Argument #1 ($arg) must be of type (A&B)|D, A_ given, called in %s on line %d
143 T::method1(): Argument #1 ($arg) must be of type (A&B)|D, B_ given, called in %s on line %d
[all …]
/php-src/tests/classes/
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 11
H A Dconstants_visibility_001.phpt5 class A {
15 var_dump(A::publicConst);
16 A::staticConstDump();
17 (new A())->constDump();
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 7
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-src/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload6.phpt7 if ($class == 'A') {
8 class A
13 var_dump(new A);
15 class B extends A
34 object(A)#2 (0) {
/php-src/Zend/tests/type_declarations/dnf_types/variance/
H A Dvalid1.phpt6 interface A {}
10 class Test implements A, B, C {}
13 public function foo(): A {
19 public function foo(): A&B {
25 public function foo(): A&B&C {
/php-src/Zend/tests/type_declarations/intersection_types/variance/
H A Dvalid1.phpt6 interface A {}
10 class Test implements A, B, C {}
13 public function foo(): A {
19 public function foo(): A&B {
25 public function foo(): A&B&C {
/php-src/Zend/tests/type_declarations/dnf_types/redundant_types/
H A Dobject_and_dnf_type.phpt2 A DNF type which contains object is redundant
6 interface A {}
9 function test(): (A&B)|object {}
14 Fatal error: Type (A&B)|object contains both object and a class type, which is redundant in %s on l…
H A Dobject_and_dnf_type2.phpt2 A DNF type which contains object is redundant 2
6 interface A {}
9 function test(): object|(A&B) {}
14 Fatal error: Type (A&B)|object contains both object and a class type, which is redundant in %s on l…
/php-src/Zend/tests/type_declarations/intersection_types/
H A Dmissing_interface_intersection_type.phpt10 class A implements X {}
17 return new A();
32 $a = new A();
48 foo(): Return value must be of type X&Y, A returned
49 Cannot assign A to property Collection::$intersect of type X&Y
50 bar(): Argument #1 ($o) must be of type X&Y, A given, called in %s on line %d
/php-src/Zend/tests/
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.
H A Dclosure_059.phpt5 class A {
11 $a = new A;
14 $f = function (A $a){};
37 Exception: {closure:%s:%d}(): Argument #1 ($a) must be of type A, B given, called in %s on line %d
38 Exception: {closure:%s:%d}(): Argument #1 ($a) must be of type A, B given
39 Exception: {closure:%s:%d}(): 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 Dgh10169.phpt5 class A
19 $a = new A();
26 $a = new A();
36 Object was released while assigning to property A::$prop
37 Object was released while assigning to property A::$prop
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'));
/php-src/ext/zend_test/tests/
H A Dobserver_bug81430_2.phpt18 class A {
24 #[A]
28 call_user_func([$r->getAttributes(A::class)[0], 'newInstance']);
41 <!-- init A::__construct() -->
42 <A::__construct>
51 </A::__construct>
/php-src/Zend/tests/numeric_strings/
H A Dinvalid_numeric_string_must_generate_warning_assign.phpt163 Warning: A non-numeric value encountered in %s on line %d
165 Warning: A non-numeric value encountered in %s on line %d
170 Warning: A non-numeric value encountered in %s on line %d
172 Warning: A non-numeric value encountered in %s on line %d
177 Warning: A non-numeric value encountered in %s on line %d
179 Warning: A non-numeric value encountered in %s on line %d
184 Warning: A non-numeric value encountered in %s on line %d
186 Warning: A non-numeric value encountered in %s on line %d
191 Warning: A non-numeric value encountered in %s on line %d
193 Warning: A non-numeric value encountered in %s on line %d
[all …]
/php-src/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-src/Zend/tests/prop_const_expr/
H A Dattributes.phpt8 enum A: string {
17 #[Attr(A::B->name)]
18 #[Attr(A::B->value)]
19 #[Attr(A::B?->name)]
20 #[Attr(A::B?->value)]
/php-src/ext/pdo_sqlite/tests/
H A Dbug46542.phpt7 class A extends PDO
10 $a = new A('sqlite:' . __DIR__ . '/dummy.db');
21 A::truc
22 A::TRUC
/php-src/ext/standard/tests/array/
H A Dbug26458.phpt5 $test = array("A\x00B" => "Hello world");
12 ["A%0B"]=>
16 'A' . "\0" . 'B' => 'Hello world',
18 ["A%0B"]=>
/php-src/Zend/tests/type_declarations/
H A Dtyped_class_constants_inheritance_error6.phpt6 interface A {
7 public const string CONST1 = 'A';
10 class B implements A {
16 Fatal error: Type of B::CONST1 must be compatible with A::CONST1 of type string in %s on line %d
/php-src/ext/soap/tests/bugs/
H A Dbug66112.phpt11 …ient=new soapclient(WSDL, array('typemap'=>array(array("type_ns"=>"uri:mist", "type_name"=>"A"))));
16 return array("A"=>"ABC","B"=>"sss");
18 $s = new SoapServer(WSDL, array('typemap'=>array(array("type_ns"=>"uri:mist", "type_name"=>"A"))));
26 <uri:Request><uri:A>XXX</uri:A><uri:B>yyy</uri:B></uri:Request>
35 ….org/soap/envelope/" xmlns:ns1="uri:mist"><SOAP-ENV:Body><ns1:Response><A>ABC</A><B>sss</B></ns1:R…

Completed in 27 milliseconds

12345678910>>...75