Home
last modified time | relevance | path

Searched refs:Y (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/PHP-8.1/ext/standard/tests/math/
H A Datan2_basic.phpt49 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 Dhypot_basic.phpt65 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.1/ext/date/tests/
H A Dmktime-3-64bit.phpt16 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 Dmktime-3.phpt16 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 Dbug17988.phpt7 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 Dbug26198.phpt2 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 Dbug33578.phpt6 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 Dbug74057.phpt5 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 Dbug51866.phpt8 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+"
122 string(7) "Y-m-d +"
[all …]
H A Dbug32086.phpt13 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);
H A Dbug69336.phpt7 var_dump(date('d.m.Y',strtotime('last day of april')));
8 var_dump(date('d.m.Y',strtotime('last tuesday of march 2015')));
9 var_dump(date('d.m.Y',strtotime('last wednesday of march 2015')));
10 var_dump(date('d.m.Y',strtotime('last wednesday of april 2015')));
11 var_dump(date('d.m.Y',strtotime('last wednesday of march 2014')));
12 var_dump(date('d.m.Y',strtotime('last wednesday of april 2014')));
H A Dbug34087.phpt2 Bug #34087 (strtotime() does not work with date format "Y/m/d")
6 echo "Y/m/d: ", strtotime("2005/8/12"), "\n";
7 echo "Y-m-d: ", strtotime("2005-8-12"), "\n";
15 Y/m/d: 1123804800
16 Y-m-d: 1123804800
H A Dmktime-1.phpt12 echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2000)) ."\n";
13 echo date("Y-m-d", mktime( 12, 0, 0, 3, -1, 2000)) ."\n";
14 echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2000)) ."\n";
15 echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2001)) ."\n";
16 echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2001)) ."\n";
17 echo date("Y-m-d", mktime( 12, 0, 0, 0, 0, 2000)) ."\n";
/PHP-8.1/Zend/tests/type_declarations/intersection_types/variance/
H A Dvalid3.phpt7 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 Dvalid7.phpt6 // 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 Dvalid5.phpt7 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;
H A Dinvalid6.phpt6 // Let Y and Z be loadable.
7 interface Y {}
11 function method(): X&Y {}
14 function method(): Y&Z {}
20 Fatal error: Could not check compatibility between Test2::method(): Y&Z and Test::method(): X&Y, be…
/PHP-8.1/ext/reflection/tests/
H A Dintersection_types.phpt19 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 …]
H A DReflectionClassConstant_getValue.phpt8 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 }
H A Dunion_types.phpt52 Name: Y
53 String: Y
78 Type X|Y|int:
83 Name: Y
84 String: Y
89 Type X|Y|int:
94 Name: Y
95 String: Y
100 Type X|Y|int:
105 Name: Y
[all …]
/PHP-8.1/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload_error5.phpt14 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
H A Dclass_order_autoload_error9.phpt2 Inheritance failure because Y inherits from wrong class
18 function m2(): Y {}
25 class Y extends A {}
26 var_dump(new Y);
36 object(Y)#2 (0) {
39 Fatal error: Declaration of B::m2(): Y must be compatible with A::m2(): B in %s on line %d
/PHP-8.1/Zend/tests/
H A Dexception_during_variance_autoload.phpt8 new Y;
10 if ($class == 'Y') {
18 function method(): Y {}
22 Y
25 Fatal error: During inheritance of B, while autoloading Y: Uncaught Error: Class "Q" not found in %…
27 #0 %s(%d): {closure}('Y')
/PHP-8.1/Zend/tests/type_declarations/union_types/
H A Dmultiple_classes.phpt7 public X|Y|Z|int $prop;
8 public function method(X|Y|Z|int $arg): X|Y|Z|int {
57 class Y {}
60 $test->prop = new Y;
62 var_dump($test->method(new Y));
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 …
80 object(Y)#4 (0) {
82 object(Y)#6 (0) {
/PHP-8.1/Zend/tests/type_declarations/intersection_types/
H A Dmissing_interface_intersection_type.phpt7 interface Y {}
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

Completed in 25 milliseconds

12345678910>>...15