Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-8.0/ext/standard/tests/math/
H A Datan2_basic.phpt150 Y: X:23 float(0)
154 Y: X:23 float(0)
155 Y: X:23 float(0)
156 Y: X:23 float(0)
159 Y: X: float(0)
160 Y: X:1 float(0)
161 Y: X: float(0)
174 Y: X:23 float(0)
183 Y: X: float(0)
184 Y: X:1 float(0)
[all …]
H A Dhypot_basic.phpt65 Y:23 X: float(23)
69 Y:23 X: float(23)
89 Y:-23 X: float(23)
281 Y: X: float(0)
283 Y: X:1 float(1)
285 Y: X: float(0)
305 Y:1 X: float(1)
309 Y:1 X: float(1)
329 Y: X: float(0)
331 Y: X:1 float(1)
[all …]
/PHP-8.0/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";
H A Dbug30532.phpt8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n";
9 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +2 hours'))."\n";
10 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +3 hours'))."\n";
14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n";
15 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +2 hours'))."\n";
16 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +3 hours'))."\n";
H A Ddate_time_fractions.phpt12 echo date_create( "2016-10-03 12:47:18.819313" )->format( "Y-m-d H:i:s.u" ), "\n\n";
16 echo $dt->modify( "+1 day" )->format( "Y-m-d H:i:s.u" ), "\n";
19 echo $dt->modify( "-3 months" )->format( "Y-m-d H:i:s.u" ), "\n";
25 echo $dt->modify( "yesterday" )->format( "Y-m-d H:i:s.u" ), "\n";
28 echo $dt->modify( "noon" )->format( "Y-m-d H:i:s.u" ), "\n";
31 echo $dt->modify( "10 weekday" )->format( "Y-m-d H:i:s.u" ), "\n";
45 echo $dt0->format( "Y-m-d H:i:s.u" ), "\n";
46 echo $dt1->format( "Y-m-d H:i:s.u" ), "\n";
47 echo $dt2->format( "Y-m-d H:i:s.u" ), "\n";
48 echo $dt3->format( "Y-m-d H:i:s.u" ), "\n";
[all …]
H A DDatePeriod_no_advance_on_valid.phpt6 $start = DateTime::createFromFormat('Y-m-d', '2022-01-01');
7 $end = DateTime::createFromFormat('Y-m-d', '2022-01-04');
13 echo $item->format('Y-m-d') . "\n";
20 echo $item->format('Y-m-d') . "\n";
29 echo $item->format('Y-m-d') . "\n";
36 echo $item->format('Y-m-d') . "\n";
H A Dbug33414-1.phpt10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
26 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
34 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
43 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
51 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
59 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
67 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
75 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
83 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
[all …]
/PHP-8.0/Zend/tests/
H A Dexception_during_variance_autoload.phpt8 new Y;
10 if ($class == 'Y') {
18 function method(): Y {}
22 Y
27 #0 %s(%d): {closure}('Y')
31 …error: Could not check compatibility between B::method(): Y and A::method(): X, because class Y is…
H A Dbug44141.phpt14 class Y extends X
18 return new Y($x);
22 $y = Y::cheat(5);
26 Fatal error: Uncaught Error: Call to private X::__construct() from scope Y in %s:%d
28 #0 %s(%d): Y::cheat(5)
/PHP-8.0/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_autoload3.phpt14 public function method(): Y {}
22 } else if ($class == 'Y') {
23 class Y extends X {
26 var_dump(new Y);
38 object(Y)#2 (0) {
/PHP-8.0/ext/reflection/tests/
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.phpt18 function test1(): X|Y|int|float|false|null { }
22 public X|Y|int $prop;
49 Type X|Y|int|float|false|null:
54 Name: Y
55 String: Y
80 Type X|Y|int:
85 Name: Y
86 String: Y
91 Type x|Y|int:
96 Name: Y
[all …]
/PHP-8.0/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.0/ext/standard/tests/file/
H A D005_basic.phpt7 print( @date('Y:M:D:H:i:s', fileatime(__FILE__)) )."\n";
8 print( @date('Y:M:D:H:i:s', filemtime(__FILE__)) )."\n";
9 print( @date('Y:M:D:H:i:s', filectime(__FILE__)) )."\n";
10 print( @date('Y:M:D:H:i:s', touch(__DIR__."/005_basic.tmp")) )."\n";
13 print( @date('Y:M:D:H:i:s', fileatime(".")) )."\n";
14 print( @date('Y:M:D:H:i:s', filemtime(".")) )."\n";
15 print( @date('Y:M:D:H:i:s', filectime(".")) )."\n";
16 print( @date('Y:M:D:H:i:s', touch(__DIR__."/005_basic")) )."\n";

Completed in 30 milliseconds

12345678910>>...12