/PHP-8.2/Zend/tests/named_params/ |
H A D | call_user_func.phpt | 72 a = A, b = b, c = C 73 a = A, b = b, c = C 77 string(1) "A" 94 a = A, b = b, c = C 97 string(1) "A" 101 a = A, b = b, c = C 104 string(1) "A" 109 a = A, b = b, c = C 110 a = A, b = b, c = C 111 a = A, b = b, c = C [all …]
|
/PHP-8.2/Zend/tests/ |
H A D | get_class_vars_004.phpt | 6 class A { 8 static public $A = 2; 17 var_dump(get_class_vars('A')); 21 var_dump(get_class_vars('A')); 25 var_dump(get_class_vars('A')); 27 new A; 29 var_dump(A::test()); 36 ["A"]=> 46 ["A"]=> 60 ["A"]=>
|
H A D | gh14009_005.phpt | 12 class A { 22 class B extends A { 29 (new A)->foo(); 30 (new A)->bar(); 35 A::foo -> A::T::test 36 A::bar -> A::T::test 38 A::bar -> A::T::test
|
H A D | closure_041.phpt | 11 echo "scoped to A: "; var_dump(isset(A::$priv)); 16 echo "scoped to A: "; var_dump(isset(A::$priv)); 20 class A { 24 echo "scoped to A: "; var_dump(isset(A::$priv)); 30 echo "scoped to A: "; var_dump(isset(A::$priv)); 35 class B extends A {} 37 $a = new A(); 71 scoped to A: bool(true) 73 scoped to A: bool(true) 74 bound: A [all …]
|
H A D | constant_expressions_coalesce.phpt | 6 const A = [1 => [[]]]; 8 const T_1 = null ?? A[1]['undefined']['index'] ?? 1; 9 const T_2 = null ?? A['undefined']['index'] ?? 2; 10 const T_3 = null ?? A[1][0][2] ?? 3; 11 const T_4 = A[1][0][2] ?? 4; 24 var_dump((function(){ static $var = null ?? A[1][0][2] ?? 3; return $var; })()); 25 var_dump((function(){ static $var = A[1][0][2] ?? 4; return $var; })()); 27 var_dump((new class { public $var = null ?? A[1]['undefined']['index'] ?? 1; })->var); 28 var_dump((new class { public $var = null ?? A['undefined']['index'] ?? 2; })->var); 29 var_dump((new class { public $var = null ?? A[1][0][2] ?? 3; })->var); [all …]
|
H A D | bug66811.phpt | 5 class A { 14 class B extends A {} 19 $g = $f->bindTo(null, A::class); 27 $bar = $foo->bindTo(null, A::class); 32 string(1) "A" 34 string(1) "A" 35 string(1) "A" 36 string(1) "A" 37 string(1) "A"
|
H A D | bug38772.phpt | 5 class A { 16 class B extends A { 22 class C extends A { 28 class D extends A { 34 $a = new A(); 40 A::foo 41 A::foo 42 A::foo 43 A::foo
|
H A D | bug74084.phpt | 7 $$A += $$B['a'] = &$$C; 8 unset($$A); 10 $$A -= $$B['a'] = &$$C; 14 unset($$A); 16 $$A *= $$B['a'] = &$$C; 20 unset($$A); 22 $$A /= $$B['a'] = &$$C; 26 unset($$A); 28 $$A **= $$B['a'] = &$$C;
|
H A D | bug30140.phpt | 5 class A { 11 class B extends A { 14 A::$test1 = "x"; 15 A::$test2 = "y"; 16 A::$test3 = "z"; 17 var_dump(A::$test1); 18 var_dump(A::$test2); 19 var_dump(A::$test3);
|
H A D | property_exists.phpt | 8 $a = new A; 13 var_dump(property_exists("A", "prot")); 14 var_dump(property_exists("A", "prot2")); 15 var_dump(property_exists("A", "prot3")); 19 $a = new A; 24 var_dump(property_exists("A", "prot")); 25 var_dump(property_exists("A", "prot2")); 26 var_dump(property_exists("A", "prot3")); 30 class A extends aParent { 36 A::staticTest();
|
H A D | bug64239_4.phpt | 5 class A { 9 class C extends A { 21 A::Bmethod(); 22 A::t2method(); 28 #0 %s(%d): A::Bmethod() 29 #0 %s(%d): A::t2method() 31 #0 %s(%d): A::t2method()
|
H A D | access_modifiers_008.phpt | 6 class A { 8 return 'A::ma()'; 12 return 'A::mp()'; 16 class B1 extends A { 30 class B2 extends A { 32 echo A::ma() . "\n"; 34 echo A::mp() . "\n"; 38 echo B1::ma() . "\n"; // protected method defined also in A 40 echo B1::mp() . "\n"; // protected method defined also in A but as private 56 A::ma() [all …]
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | gh10192_utf7.phpt | 82 string(4) "A B" 91 string(5) "A - B" 100 string(5) "A 1 B" 118 string(5) "A ? B" 154 string(2) "A " 163 string(3) "A -" 172 string(5) "A + B" 181 string(5) "A - B" 460 string(6) "A " 469 string(3) "A ?" [all …]
|
H A D | gh10192_utf7imap.phpt | 71 string(4) "A ?B" 80 string(5) "A - B" 89 string(5) "A 1?B" 107 string(4) "A ?B" 125 string(5) "A 1?B" 143 string(3) "A ?" 152 string(3) "A -" 161 string(5) "A & B" 314 string(4) "A ?B" 332 string(4) "A ?B" [all …]
|
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionMethod_getDocComment_basic.phpt | 8 * My Doc Comment for A 10 class A { 12 * My Doc Comment for A::f 17 * My Doc Comment for A::privf 33 class B extends A { 57 foreach (array('A', 'B') as $class) { 67 ---> Doc comment for A::f(): 69 * My Doc Comment for A::f 73 ---> Doc comment for A::privf(): 75 * My Doc Comment for A::privf [all …]
|
/PHP-8.2/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativePPC_64.c | 49 return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm)); in load_immediate() 113 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)); in load_immediate() 118 (RLDICL | S(src) | A(dst) | ((from) << 6) | (1 << 5)) 153 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2)); in emit_single_op() 161 return push_inst(compiler, EXTSW | S(src2) | A(dst)); in emit_single_op() 174 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op() 178 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op() 189 return push_inst(compiler, EXTSH | S(src2) | A(dst)); in emit_single_op() 205 return push_inst(compiler, CNTLZW | S(src2) | A(dst)); in emit_single_op() 206 return push_inst(compiler, CNTLZD | S(src2) | A(dst)); in emit_single_op() [all …]
|
/PHP-8.2/Zend/tests/prop_const_expr/ |
H A D | basic.phpt | 6 enum A: string { 7 case Case = 'A::Case'; 10 const A_name = A::Case->name; 11 const A_value = A::Case->value; 16 const A_name_nullsafe = A::Case?->name; 17 const A_value_nullsafe = A::Case?->value; 25 string(7) "A::Case" 27 string(7) "A::Case"
|
H A D | static_initalizer.phpt | 6 enum A: string { 7 case Case = 'A::Case'; 11 static $name = A::Case->name; 12 static $value = A::Case->value; 13 static $nameNullsafe = A::Case?->name; 14 static $valueNullsafe = A::Case?->value; 27 string(7) "A::Case" 29 string(7) "A::Case"
|
H A D | class_const.phpt | 6 enum A: string { 7 case Case = 'A::Case'; 11 const A_name = A::Case->name; 12 const A_value = A::Case->value; 13 const A_name_nullsafe = A::Case?->name; 14 const A_value_nullsafe = A::Case?->value; 25 string(7) "A::Case" 27 string(7) "A::Case"
|
/PHP-8.2/Zend/tests/type_declarations/ |
H A D | typed_properties_079.phpt | 6 class A { 11 A::$a = &A::$it; 14 A::$it = new ArrayIterator(); 16 var_dump(A::$it); 18 A::$a = &$a; 20 A::$it = new ArrayIterator(); 29 string(78) "Cannot assign ArrayIterator to reference held by property A::$a of type ?array" 32 string(68) "Cannot assign int to reference held by property A::$a of type ?array"
|
H A D | static_type_return.phpt | 6 class A { 21 class B extends A { 29 $a = new A; 71 object(A)#3 (0) { 76 object(A)#3 (0) { 78 A::test2(): Return value must be of type B, A returned 80 object(A)#3 (0) { 85 object(A)#3 (0) { 87 A::test4(): Return value must be of type B|array, A returned 90 object(A)#1 (0) {
|
/PHP-8.2/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | valid2.phpt | 6 interface A {} 10 public A&B $prop; 11 public function foo(A&B $v): A&B {} 15 public B&A $prop; 16 public function foo(B&A $v): B&A {}
|
H A D | invalid_covariance_drop_type1.phpt | 6 interface A {} 9 class Test implements A, B {} 12 public function foo(): A&B { 17 /* This fails because just A larger than A&B */ 19 public function foo(): A { 26 Fatal error: Declaration of FooChild::foo(): A must be compatible with Foo::foo(): A&B in %s on lin…
|
/PHP-8.2/ext/date/tests/ |
H A D | bug41964.phpt | 2 Bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+') 13 $res = date_parse('A '); 17 $res = date_parse('A'); 29 $res = date_parse('A Revolution in Development'); 44 string(1) "A" 47 string(1) "A" 50 string(1) "A" 53 string(1) "A" 56 string(1) "A" 59 string(1) "A"
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | valid2.phpt | 6 interface A {} 11 public X|(A&B) $prop; 12 public function foo(X|(A&B) $v): X|(A&B) {} 16 public (B&A)|X $prop; 17 public function foo((B&A)|X $v): (B&A)|X {}
|