/PHP-8.4/ext/standard/tests/math/ |
H A D | atan2_basic.phpt | 49 Y:23 X:1 float(1.5273454314034) 50 Y:23 X: float(1.5707963267949) 150 Y: X:23 float(0) 152 Y: X:23.45 float(0) 154 Y: X:23 float(0) 155 Y: X:23 float(0) 156 Y: X:23 float(0) 157 Y: X:23.45 float(0) 158 Y: X:2.345e1 float(0) 159 Y: X:1 float(0) [all …]
|
H A D | hypot_basic.phpt | 65 Y:23 X: float(23) 87 Y:-23 X: float(23) 153 Y:23 X: float(23) 175 Y:23 X: float(23) 197 Y:23 X: float(23) 263 Y:1 X: float(1) 265 Y: X:33 float(33) 273 Y: X:39 float(39) 275 Y: X:31 float(31) 283 Y: X:1 float(1) [all …]
|
/PHP-8.4/ext/date/tests/ |
H A D | mktime-3-64bit.phpt | 16 printf("Y: %4d - ", $year); 29 Y: 0 - January 2000-01-01T01:01:01-0500 30 Y: 69 - January 2069-01-01T01:01:01-0500 31 Y: 70 - January 1970-01-01T01:01:01-0500 32 Y: 71 - January 1971-01-01T01:01:01-0500 33 Y: 99 - January 1999-01-01T01:01:01-0500 35 Y: 101 - January 0101-01-01T01:01:01-0%d 36 Y: 105 - January 0105-01-01T01:01:01-0%d 37 Y: 110 - January 0110-01-01T01:01:01-0%d 38 Y: 1900 - January 1900-01-01T01:01:01-0%d [all …]
|
H A D | mktime-3.phpt | 16 printf("Y: %4d - ", $year); 29 Y: 0 - January 2000-01-01T01:01:01-0500 30 Y: 69 - out of range 31 Y: 70 - January 1970-01-01T01:01:01-0500 35 Y: 105 - out of range 36 Y: 1900 - out of range 37 Y: 1901 - out of range 45 Y: 69 - out of range 50 Y: 105 - out of range 51 Y: 1900 - out of range [all …]
|
H A D | bug17988.phpt | 7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n"; 8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n"; 9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n"; 10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; 11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; 12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n"; 13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n"; 14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n"; 15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n"; 16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n"; [all …]
|
H A D | bug26198.phpt | 2 Bug #26198 (strtotime handling of "M Y" and "Y M" format) 6 echo gmdate("F Y (Y-m-d H:i:s T)\n", strtotime("Oct 2001")); 7 echo gmdate("M Y (Y-m-d H:i:s T)\n", strtotime("2001 Oct"));
|
H A D | bug33578.phpt | 6 echo date('m/d/Y', strtotime('Oct 11')), "\n"; 7 echo date('m/d/Y', strtotime('11 Oct')), "\n"; 8 echo date('m/d/Y', strtotime('11 Oct 2005')), "\n"; 9 echo date('m/d/Y', strtotime('Oct11')), "\n"; 10 echo date('m/d/Y', strtotime('11Oct')), "\n"; 11 echo date('m/d/Y', strtotime('11Oct 2005')), "\n"; 12 echo date('m/d/Y', strtotime('11Oct2005')), "\n";
|
H A D | date_period_microseconds.phpt | 10 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (exclus… 12 echo $day->format('Y-m-d H:i:s.u') . "\n"; 15 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (inclus… 17 echo $day->format('Y-m-d H:i:s.u') . "\n"; 21 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (exclus… 23 echo $day->format('Y-m-d H:i:s.u') . "\n"; 27 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (inclus… 29 echo $day->format('Y-m-d H:i:s.u') . "\n";
|
H A D | bug51866.phpt | 8 array( 'Y-m-d', '2001-11-29 13:20:01' ), 9 array( 'Y-m-d+', '2001-11-29 13:20:01' ), 11 array( 'Y-m-d+', '2001-11-29' ), 12 array( 'Y-m-d +', '2001-11-29' ), 13 array( 'Y-m-d +', '2001-11-29 ' ), 27 string(5) "Y-m-d" 46 string(6) "Y-m-d+" 72 string(7) "Y-m-d +" 98 string(6) "Y-m-d+" 111 string(7) "Y-m-d +" [all …]
|
H A D | bug74057.phpt | 5 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sun 2017-01-01")))."\n"; 6 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Mon 2017-01-02")))."\n"; 7 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Tue 2017-01-03")))."\n"; 8 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Wed 2017-01-04")))."\n"; 9 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Thu 2017-01-05")))."\n"; 10 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Fri 2017-01-06")))."\n"; 11 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sat 2017-01-07")))."\n"; 12 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sun 2017-01-08")))."\n"; 13 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Mon 2017-01-09")))."\n";
|
H A D | bug32086.phpt | 13 echo date("Y-m-d H:i:s T\n", $g); 14 echo date("Y-m-d H:i:s T\n", $i); 15 echo date("Y-m-d H:i:s T\n", $j); 16 echo date("Y-m-d H:i:s T\n", $k); 17 echo date("Y-m-d H:i:s T\n", $l); 24 echo date("Y-m-d H:i:s T\n", $g); 25 echo date("Y-m-d H:i:s T\n", $i); 26 echo date("Y-m-d H:i:s T\n", $j); 27 echo date("Y-m-d H:i:s T\n", $k); 28 echo date("Y-m-d H:i:s T\n", $l);
|
/PHP-8.4/ext/hash/ |
H A D | hash_sha_sse2.c | 205 __m128i Y[4]; in SHA256_Transform_sse2() local 210 _mm_storeu_si128((__m128i *)&W[0], Y[0]); in SHA256_Transform_sse2() 212 _mm_storeu_si128((__m128i *)&W[4], Y[1]); in SHA256_Transform_sse2() 214 _mm_storeu_si128((__m128i *)&W[8], Y[2]); in SHA256_Transform_sse2() 216 _mm_storeu_si128((__m128i *)&W[12], Y[3]); in SHA256_Transform_sse2() 242 Y[0] = MSG4(Y[0], Y[1], Y[2], Y[3]); in SHA256_Transform_sse2() 243 _mm_storeu_si128((__m128i *)&W[16 + i + 0], Y[0]); in SHA256_Transform_sse2() 244 Y[1] = MSG4(Y[1], Y[2], Y[3], Y[0]); in SHA256_Transform_sse2() 245 _mm_storeu_si128((__m128i *)&W[16 + i + 4], Y[1]); in SHA256_Transform_sse2() 246 Y[2] = MSG4(Y[2], Y[3], Y[0], Y[1]); in SHA256_Transform_sse2() [all …]
|
/PHP-8.4/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | valid3.phpt | 7 interface Y {} 10 class TestParent implements X, Y, Z {} 14 public X&Y $prop; 16 public function method1(X&Y&Z $a): X&Y {} 17 public function method2(X&Y $a): X {} 20 public X&Y $prop; 22 public function method1(X&Y $a): X&Y&Z {} 23 public function method2(X $a): X&Y {}
|
H A D | valid7.phpt | 6 // It's sufficient that Y is loadable. 7 interface Y {} 12 function method3(): Y|int {} 15 function method(): X&Y {} 16 function method2(): X&Y {} 17 function method3(): X&Y {}
|
H A D | valid5.phpt | 7 interface Y {} 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; 29 public function foo(Y $param): TestOne; 39 public function foo(Y $param): TestOne;
|
/PHP-8.4/ext/reflection/tests/types/ |
H A D | dnf_types_with_null.phpt | 23 public (X&Y)|null $prop; 35 class x implements Y, Countable { 48 Type X&Y is ReflectionIntersectionType: 52 Name: Y 53 String: Y 62 Type (X&Y)|null is ReflectionUnionType: 68 Name: Y 69 String: Y 72 Type (X&Y)|null is ReflectionUnionType: 78 Name: Y [all …]
|
H A D | dnf_types.phpt | 23 public (X&Y)|Countable $prop; 35 class x implements Y, Countable { 47 Type X&Y is ReflectionIntersectionType: 51 Name: Y 52 String: Y 65 Type X&Y is ReflectionIntersectionType: 69 Name: Y 70 String: Y 76 Type X&Y is ReflectionIntersectionType: 80 Name: Y [all …]
|
H A D | intersection_types.phpt | 19 public X&Y&Countable $prop; 31 class x implements Y, Countable { 42 Type X&Y&Z&Traversable&Countable: 47 Name: Y 48 String: Y 59 Type X&Y&Countable: 64 Name: Y 65 String: Y 70 Type X&Y&Countable: 75 Name: Y [all …]
|
/PHP-8.4/Zend/tests/type_declarations/dnf_types/ |
H A D | dnf_intersection_and_single.phpt | 7 interface Y {} 9 class A implements X, Y {} 14 public (X&Y)|int $prop1; 15 public int|(X&Y) $prop2; 16 public (X&Y)|B $prop3; 17 public B|(X&Y) $prop4; 19 public function foo1((X&Y)|int $v): (X&Y)|int { 23 public function foo2(int|(X&Y) $v): int|(X&Y) { 27 public function bar1(B|(X&Y) $v): B|(X&Y) { 31 public function bar2((X&Y)|B $v): (X&Y)|B { [all …]
|
H A D | dnf_intersection_and_null.phpt | 7 interface Y {} 9 class A implements X, Y {} 13 public (X&Y)|null $prop1; 14 public null|(X&Y) $prop2; 16 public function foo1((X&Y)|null $v): (X&Y)|null { 20 public function foo2(null|(X&Y) $v): null|(X&Y) { 70 Test::foo1(): Argument #1 ($v) must be of type (X&Y)|null, C given, called in %s on line %d 71 Test::foo2(): Argument #1 ($v) must be of type (X&Y)|null, C given, called in %s on line %d 72 Cannot assign C to property Test::$prop1 of type (X&Y)|null 73 Cannot assign C to property Test::$prop2 of type (X&Y)|null
|
H A D | dnf_2_intersection.phpt | 8 interface Y {} 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.4/ext/dba/tests/ |
H A D | dba_cdb.phpt | 25 Key 1 exists? Y 26 Key 2 exists? Y 27 Key 3 exists? Y 28 Key 4 exists? Y 29 Key 5 exists? Y 49 Key 1 exists? Y 50 Key 2 exists? Y 51 Key 3 exists? Y 52 Key 4 exists? Y 53 Key 5 exists? Y
|
/PHP-8.4/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | valid7.phpt | 6 // It's sufficient that Y is loadable. 7 interface Y {} 12 function method3(): Y|int {} 15 function method1(): (X&Y)|Countable {} 16 function method2(): (X&Y)|int {} 17 function method3(): (X&Y)|int {}
|
/PHP-8.4/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error5.phpt | 14 public function method(): Y {} 19 public function method(Y $a) {} 22 } else if ($class == 'Y') { 23 class Y extends X { 26 var_dump(new Y); 28 class Z extends Y { 44 Fatal error: Declaration of Y::method(Z $a) must be compatible with X::method(Y $a) in %s on line %d
|
/PHP-8.4/ext/reflection/tests/ |
H A D | ReflectionClassConstant_getValue.phpt | 8 const X = self::Y * 2; 9 const Y = 1; 12 const X = self::Y * 2; 13 const Y = 1; 16 const X = self::Y * 2; 17 const Y = 1; 33 Constant [ public int Y ] { 1 }
|