Home
last modified time | relevance | path

Searched refs:A (Results 201 – 225 of 1588) sorted by relevance

12345678910>>...64

/PHP-8.2/Zend/tests/
H A Dmodify_isref_value_return.phpt6 class A {
12 $a = new A;
15 (new ReflectionProperty('A', 'b'))->getValue($a)[] = 42;
21 object(A)#1 (1) {
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 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 Dbug66252.phpt5 class A {
6 const HW = "this is A";
8 class B extends A {
15 this is A extended by B
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-8.2/ext/intl/tests/
H A Dformatter_get_set_symbol2.phpt95 A number formatted with the new symbol: 12,345_._123
100 A number formatted with the new symbol: 12_,_345.123
105 A number formatted with the new symbol: 12,345.123
115 A number formatted with the new symbol: 12,345.123
120 A number formatted with the new symbol: 12,345.123
140 A number formatted with the new symbol: $12,345.12
155 A number formatted with the new symbol: 12,345.123
160 A number formatted with the new symbol: 12,345.123
165 A number formatted with the new symbol: 12,345.123
170 A number formatted with the new symbol: 12,345.123
[all …]
/PHP-8.2/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.2/Zend/tests/constants/final_constants/
H A Dfinal_const2.phpt8 final const A = "foo";
13 const A = "bar";
18 Fatal error: Bar::A cannot override final constant Foo::A in %s on line %d
/PHP-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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.2/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"]=>

Completed in 26 milliseconds

12345678910>>...64