/PHP-8.2/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | invalid1.phpt | 9 interface X {} 14 public function foo(): (B&C)|X { 21 public function foo(): (A&C)|X { 28 Fatal error: Declaration of FooChild::foo(): (A&C)|X must be compatible with Foo::foo(): (B&C)|X in…
|
H A D | invalid_covariance_drop_type2.phpt | 9 interface X {} 14 public function foo(): (A&B&C)|X { 21 public function foo(): (A&B)|X { 28 Fatal error: Declaration of FooChild::foo(): (A&B)|X must be compatible with Foo::foo(): (A&B&C)|X …
|
H A D | invalid_invariance2.phpt | 6 interface X {} 8 class A implements X, Y {} 12 public (X&Y)|B $prop; 21 Fatal error: Type of Test2::$prop must be (X&Y)|B (as in class Test) in %s on line %d
|
H A D | valid9.phpt | 11 function method1(): (X&Traversable)|string {} 12 function method2(): int|(X&MyIterator) {} 18 …patibility between Test2::method2(): (X&MyIterator)|int and Test::method2(): Traversable|array|int…
|
H A D | invalid_covariance_intersection_to_union2.phpt | 6 interface X {} 9 class TestOne implements X, Y {} 13 public function foo(): X&Y; 23 Fatal error: Declaration of B::foo(): TestOne|int must be compatible with A::foo(): X&Y in %s on li…
|
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionClass_getDefaultProperties_001.phpt | 56 class X { 61 public $pubC = "pubC in X"; 62 protected $protC = "protC in X"; 63 private $privC = "privC in X"; 176 ---- Static properties in X ---- 179 [statPubC] => stat pubC in X 185 ---- Default properties in X ---- 188 [statPubC] => stat pubC in X 191 [pubC] => pubC in X 192 [protC] => protC in X [all …]
|
H A D | ReflectionClass_isInstance_basic.phpt | 11 class X {} 13 $classes = array("A", "B", "C", "I", "X"); 18 "myX" => new X ); 48 is myA a X? bool(false) 49 is myB a X? bool(false) 50 is myC a X? bool(false) 51 is myX a X? bool(true)
|
/PHP-8.2/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | invalid_invariance2.phpt | 6 interface X {} 8 class A implements X, Y {} 11 public X&Y $prop; 20 Fatal error: Type of Test2::$prop must be X&Y (as in class Test) in %s on line %d
|
H A D | invalid_covariance_intersection_to_union2.phpt | 6 interface X {} 9 class TestOne implements X, Y {} 13 public function foo(): X&Y; 23 Fatal error: Declaration of B::foo(): TestOne|int must be compatible with A::foo(): X&Y in %s on li…
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | sprintf_basic9.phpt | 15 $format11 = "%X"; 16 $format22 = "%X %X"; 17 $format33 = "%X %X %X";
|
H A D | bug75075.phpt | 2 Bug #75075 (unpack with X* causes infinity loop) 5 var_dump(unpack("X*", "")); 8 Warning: unpack(): Type X: '*' ignored in %sbug75075.php on line %d
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | gh10271.phpt | 14 $sol['X']['k']=-222.45470924306; 15 $sol['X']['e']=-8.1787760034414; 16 $sol['X'][1]=-0.020231298698539; 33 $x = $sol['X']['k']*$tang['KSI'] + $sol['X']['e']*$tang['ETA'] + $sol['X'][1];
|
H A D | defined_001.phpt | 14 $a = defined("X"); 15 $b = defined("X"); 16 if (defined("X")) { 21 if (!defined("X")) {
|
/PHP-8.2/Zend/tests/ |
H A D | bug70179.phpt | 6 class X { 11 (new X)(); 15 object(X)#1 (0) {
|
H A D | bug33257.phpt | 7 class X { 14 //$arr1 = X::getArr(); 15 array_splice(X::getArr(), 1, 1); 16 print_r(X::getArr());
|
H A D | indirect_reference_this.phpt | 5 class X { 8 $x = new X; 12 object(X)#%d (0) {
|
H A D | get_class_methods_001.phpt | 6 abstract class X { 12 class Y extends X { 16 var_dump(get_class_methods('X')); 22 var_dump(get_class_methods('X'));
|
/PHP-8.2/Zend/tests/type_declarations/union_types/variance/ |
H A D | invalid_003.phpt | 6 class X {} 7 class Y extends X {} 13 public function method(): X|string {} 18 Fatal error: Declaration of B::method(): X|string must be compatible with A::method(): Y|string in …
|
/PHP-8.2/ext/ffi/tests/ |
H A D | 016.phpt | 10 FFI::cdef("struct X {void x();};"); 16 FFI::cdef("struct X {struct X x;};"); 22 FFI::cdef("struct X {struct X *ptr;};");
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/redundant_types/ |
H A D | inheritence.phpt | 6 interface X {} 10 function test(): (A&X)|(B&X) {}
|
H A D | duplicate_class_alias_type_runtime.phpt | 7 interface X {} 10 function foo(): (X&A)|(X&B) {}
|
/PHP-8.2/Zend/tests/type_declarations/ |
H A D | typed_properties_class_loading.phpt | 7 public X $propX; 23 class X {} 26 $test->propX = new X; 46 Cannot assign stdClass to property Test::$propX of type X 47 object(X)#3 (0) {
|
/PHP-8.2/ext/reflection/tests/types/ |
H A D | pure_intersection_type_implicitly_nullable.phpt | 20 function foo(X&Y $foo = null) { 28 Type (X&Y)|null is ReflectionUnionType: 30 Type X&Y is ReflectionIntersectionType: 32 Name: X 33 String: X
|
/PHP-8.2/ext/gmp/tests/ |
H A D | bug80560.phpt | 67 var_dump(gmp_init('0X', 16)); 100 $function('0X'); 101 echo $function, ' failed with 0X', \PHP_EOL; 118 $function('0X', 1); 119 echo $function, ' failed with 0X', \PHP_EOL; 136 $function('0X', 1); 137 echo $function, ' arg 1 failed with 0X', \PHP_EOL; 152 $function(1, '0X'); 170 $function('0X', 1, 1); 186 $function(1, '0X', 1); [all …]
|
/PHP-8.2/ext/spl/tests/ |
H A D | filesystemiterator_flags.phpt | 21 printf("%08X\n", $it->getFlags()); 22 printf("%08X\n", ($it->getFlags() & FileSystemIterator::CURRENT_MODE_MASK)); 23 printf("%08X\n", ($it->getFlags() & FileSystemIterator::KEY_MODE_MASK)); 24 printf("%08X\n", ($it->getFlags() & FileSystemIterator::OTHER_MODE_MASK));
|