/PHP-8.2/ext/tokenizer/tests/ |
H A D | token_get_all_TOKEN_PARSE_001.phpt | 8 X::continue; 9 X::$continue; 11 X::continue(); 13 X::class; 16 class X { 36 L2: T_STRING X 40 L3: T_STRING X 48 L5: T_STRING X 60 L7: T_STRING X 71 L10: T_STRING X
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/ |
H A D | dnf_2_intersection.phpt | 7 interface X {} 11 class A implements X, Y {} 15 function foo1((X&Y)|(W&Z) $v): (X&Y)|(W&Z) { 18 function foo2((W&Z)|(X&Y) $v): (W&Z)|(X&Y) { 22 function bar1(): (X&Y)|(W&Z) { 25 function bar2(): (W&Z)|(X&Y) { 62 bar1(): Return value must be of type (X&Y)|(W&Z), C returned 63 bar2(): Return value must be of type (W&Z)|(X&Y), C returned
|
/PHP-8.2/ext/imap/tests/ |
H A D | bug80710_1.phpt | 7 $envelope["from"]= "joe@example.com\n From : X-INJECTED"; 8 $envelope["to"] = "foo@example.com\nFrom: X-INJECTED"; 9 $envelope["cc"] = "bar@example.com\nFrom: X-INJECTED"; 10 $envelope["subject"] = "bar@example.com\n\n From : X-INJECTED"; 11 $envelope["x-remail"] = "bar@example.com\nFrom: X-INJECTED"; 12 $envelope["something"] = "bar@example.com\nFrom: X-INJECTED"; 19 $part2["subtype"] = "octet-stream\nContent-Type: X-INJECTED"; 20 $part2["description"] = "some file\nContent-Type: X-INJECTED"; 21 $part2["contents.data"] = "ABC\nContent-Type: X-INJECTED";
|
/PHP-8.2/ext/phar/tests/files/ |
H A D | frontcontroller3.phar | 12 va.php&XX��жa.jpg&XX��жa.phps&…
|
/PHP-8.2/Zend/tests/type_declarations/intersection_types/ |
H A D | missing_interface_intersection_type.phpt | 6 interface X {} 10 class A implements X {} 13 public X&Y $intersect; 16 function foo(): X&Y { 20 function bar(X&Y $o): void { 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
|
H A D | assigning_intersection_types.phpt | 6 interface X {} 10 class TestParent implements X, Y {} 15 public X&Y&Z $prop; 17 public function method1(X&Y $a): X&Y&Z { 20 public function method2(X $a): X&Y { 49 Cannot assign TestParent to property A::$prop of type X&Y&Z
|
H A D | typed_reference.phpt | 6 interface X {} 10 class A implements X, Y, Z {} 11 class B implements X, Y {} 14 public X&Y $y; 15 public X&Z $z; 30 Cannot assign B to reference held by property Test::$z of type X&Z
|
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionClassConstant_getValue.phpt | 8 const X = self::Y * 2; 12 const X = self::Y * 2; 16 const X = self::Y * 2; 20 var_dump((new ReflectionClassConstant('A', 'X'))->getValue()); 21 echo new ReflectionClassConstant('B', 'X'); 27 Constant [ public int X ] { 2 } 32 Constant [ public int X ] { 2 }
|
/PHP-8.2/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error4.phpt | 9 public function method(): X {} 17 } else if ($class == 'X') { 18 class X { 21 var_dump(new X); 23 class Y extends X { 36 object(X)#2 (0) { 39 Fatal error: Declaration of Y::method(): A must be compatible with X::method(): B in %s on line %d
|
H A D | class_order_autoload_error8.phpt | 2 Inheritance failure because X inherits from wrong class 17 function m(): X {} 21 } elseif ($class == 'X') { 22 class X extends A {} 23 var_dump(new X); 36 object(X)#2 (0) { 39 Fatal error: Declaration of B::m(): X must be compatible with A::m(): B in %s on line %d
|
H A D | class_order_autoload3.phpt | 9 public function method(): X {} 17 } else if ($class == 'X') { 18 class X { 21 var_dump(new X); 23 class Y extends X { 36 object(X)#2 (0) {
|
H A D | class_order_autoload_error5.phpt | 9 public function method(): X {} 17 } else if ($class == 'X') { 18 class X { 21 var_dump(new X); 23 class Y extends X { 41 object(X)#2 (0) { 44 Fatal error: Declaration of Y::method(Z $a) must be compatible with X::method(Y $a) in %s on line %d
|
H A D | class_order_autoload4.phpt | 6 // Same as autoload3 test case, but with X, Y being interfaces. 10 public function method(): X {} 18 } else if ($class == 'X') { 19 interface X { 22 var_dump(interface_exists('X')); 24 interface Y extends X {
|
/PHP-8.2/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | valid5.phpt | 6 interface X {} 9 class TestOne implements X, Y {} 10 class TestTwo implements X, Y {} 14 public function foo(TestOne|TestTwo $param): X&Y; 19 public function foo(X&Y $param): TestOne|TestTwo; 24 public function foo(X $param): TestTwo; 34 public function foo(X $param): TestTwo;
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/redundant_types/ |
H A D | duplicate_class_alias_type.phpt | 6 interface X {} 9 function foo(): (X&A)|(X&B) {} 13 Fatal error: Type X&A is redundant with type X&A in %s on line %d
|
/PHP-8.2/ext/dom/tests/ |
H A D | bug28721.phpt | 132 name (value): b (X) 137 name (value): #text (X) 159 name (value): b (X) 164 name (value): #text (X) 203 name (value): X () 240 name (value): X () 258 name (value): b (X) 317 name (value): b (X) 391 name (value): X () 424 name (value): X () [all …]
|
/PHP-8.2/ext/reflection/tests/types/ |
H A D | intersection_types.phpt | 16 function test1(): X&Y&Z&Traversable&Countable { } 19 public X&Y&Countable $prop; 42 Type X&Y&Z&Traversable&Countable: 44 Name: X 45 String: X 59 Type X&Y&Countable: 61 Name: X 62 String: X 70 Type X&Y&Countable: 72 Name: X [all …]
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | valid5.phpt | 6 interface X {} 9 class TestOne implements X, Y {} 10 class TestTwo implements X, Y {} 15 public function foo(TestOne|TestTwo|Foo $param): (X&Y)|Foo; 20 public function foo((X&Y)|Foo $param): TestOne|TestTwo|Foo; 25 public function foo(X|Foo $param): TestTwo; 35 public function foo(X|Foo $param): TestTwo;
|
/PHP-8.2/Zend/tests/type_declarations/union_types/ |
H A D | multiple_classes.phpt | 7 public X|Y|Z|int $prop; 8 public function method(X|Y|Z|int $arg): X|Y|Z|int { 41 class X {} 44 $test->prop = new X; 46 var_dump($test->method(new X)); 70 Cannot assign stdClass to property Test::$prop of type X|Y|Z|int 71 Test::method(): Argument #1 ($arg) must be of type X|Y|Z|int, stdClass given, called in %s on line … 72 object(X)#4 (0) { 74 object(X)#6 (0) {
|
/PHP-8.2/Zend/ |
H A D | bench.php | 114 $X[$i] = $i; 117 $Y[$i] = $X[$i]; 127 $X[$i] = $i; ++$i; 128 $X[$i] = $i; ++$i; 129 $X[$i] = $i; ++$i; 130 $X[$i] = $i; ++$i; 131 $X[$i] = $i; ++$i; 133 $X[$i] = $i; ++$i; 134 $X[$i] = $i; ++$i; 135 $X[$i] = $i; ++$i; [all …]
|
H A D | README.md | 87 OP<X>_TYPE 90 get_zval_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>) 92 get_zval_ptr_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>) 94 get_obj_zval_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>) 96 get_obj_zval_ptr_ptr(&opline->op<X>, EX(Ts), &free_op<X>, <TYPE>) 97 IS_OP<X>_TMP_FREE() 99 FREE_OP<X>() 100 FREE_OP(free_op<X>) 101 FREE_OP<X>_IF_VAR() 102 FREE_VAR(free_op<X>) [all …]
|
/PHP-8.2/ext/standard/tests/serialize/ |
H A D | bug55798.phpt | 7 $a->{0} = 'X'; 16 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" 17 string(1) "X" 18 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" 19 string(1) "X"
|
/PHP-8.2/ext/ffi/tests/ |
H A D | 018.phpt | 10 FFI::cdef("struct X {struct X x[2];};"); 16 FFI::cdef("struct X {struct X *ptr[2];};"); 24 FFI\ParserException: Incomplete struct "X" at line 1
|
/PHP-8.2/Zend/tests/ |
H A D | bug76430.phpt | 7 const X = __METHOD__; 11 const X = __METHOD__; 16 var_dump(Foo::X); 17 var_dump(Bar::X);
|
H A D | ns_065.phpt | 5 use X\Y as test, X\Z as test2; 13 X\Y\foo 14 X\Z\foo
|