Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-7.3/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.phpt73 Y:23 X:33abc
101 Y:-23 X:33abc
185 Y:23 X:33abc
213 Y:23 X:33abc
241 Y:23 X:33abc
349 Y:23abc X:
353 Y:23abc X:1
357 Y:23abc X:
379 Y: X:33abc
407 Y:1 X:33abc
[all …]
/PHP-7.3/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);
30 Y: 0 - January 2000-01-01T01:01:01-0500
31 Y: 69 - out of range
32 Y: 70 - January 1970-01-01T01:01:01-0500
36 Y: 105 - out of range
37 Y: 1900 - out of range
38 Y: 1901 - out of range
46 Y: 69 - out of range
51 Y: 105 - out of range
52 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 ' ),
26 string(5) "Y-m-d"
45 string(6) "Y-m-d+"
71 string(7) "Y-m-d +"
97 string(6) "Y-m-d+"
121 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 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 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 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 …]
H A Dbug33414-2.phpt8 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
10 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
16 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
18 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
24 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
32 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
40 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
48 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
56 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
64 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
[all …]
H A Ddate_period-immutable.phpt14 echo $dt->format( "l Y-m-d\n" );
15 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
16 echo $dt->format( "l Y-m-d\n\n" );
22 echo $dt->format( "l Y-m-d\n" );
23 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
24 echo $dt->format( "l Y-m-d\n\n" );
H A Ddate_modify-1.phpt7 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
9 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
13 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
15 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
18 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
20 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
H A Dbug54851.phpt14 $datePre = DateTime::createFromFormat("!D d M Y", "Fri 17 may 2011");
15 $datePost = DateTime::createFromFormat("!d M Y D", "17 may 2011 Fri");
18 var_dump($datePre->format("Y-m-d") == $datePost->format("Y-m-d"));
29 $date1 = DateTime::createFromFormat("!D d M Y", "Fri 19 November 2011");
33 var_dump($date1->format('Y-m-d') == $date2->format('Y-m-d'));
36 $date1 = DateTime::createFromFormat("!D d M Y", "Sat 19 November 2011");
40 var_dump($date1->format('Y-m-d') == $date2->format('Y-m-d'));
/PHP-7.3/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 }
/PHP-7.3/Zend/tests/
H A Dbug44141.phpt14 class Y extends X
18 return new Y($x);
22 $y = Y::cheat(5);
25 Fatal error: Uncaught Error: Call to private X::__construct() from context 'Y' in %sbug44141.php:15
27 #0 %s(%d): Y::cheat(5)
H A Dns_010.phpt6 use X as Y;
18 new Y\Foo();
21 Y\Foo::bar();
24 echo Y\Foo::C;
27 echo Y\Foo::$var;
H A Dget_class_methods_001.phpt12 class Y extends X {
17 var_dump(get_class_methods('Y'));
23 var_dump(get_class_methods('Y'));
26 Y::test();
/PHP-7.3/ext/calendar/tests/
H A Deaster_date.phpt12 echo date("Y-m-d", easter_date(2000))."\n";
13 echo date("Y-m-d", easter_date(2001))."\n";
14 echo date("Y-m-d", easter_date(2002))."\n";
15 echo date("Y-m-d", easter_date(1492))."\n";

Completed in 50 milliseconds

12345678910>>...12