Home
last modified time | relevance | path

Searched refs:gmmktime (Results 1 – 25 of 32) sorted by relevance

12

/PHP-8.0/ext/date/tests/
H A Dgmmktime_variation7.phpt5 echo "*** Testing gmmktime() : usage variation ***\n";
15 var_dump( gmmktime($hour) );
18 var_dump( gmmktime($hour, $min) );
21 var_dump( gmmktime($hour, $min, $sec) );
24 var_dump( gmmktime($hour, $min, $sec, $mon) );
27 var_dump( gmmktime($hour, $min, $sec, $mon, $day) );
31 *** Testing gmmktime() : usage variation ***
33 -- Testing gmmktime() function with one optional argument --
36 -- Testing gmmktime() function with two optional argument --
42 -- Testing gmmktime() function with four optional argument --
[all …]
H A Dbug30096.phpt2 Bug #30096 (gmmktime does not return the correct time)
24 echo "gmmktime($hour,$minute,$second,$month,$day,$year): ";
27 $ts = gmmktime($hour, $minute, $second, $month, $day, $year);
39 gmmktime(1,0,0,3,27,2005): 1111885200 | gmdate('r', 1111885200):Sun, 27 Mar 2005 01:00:00 +0000
40 gmmktime(2,0,0,3,27,2005): 1111888800 | gmdate('r', 1111888800):Sun, 27 Mar 2005 02:00:00 +0000 | D…
41 gmmktime(3,0,0,3,27,2005): 1111892400 | gmdate('r', 1111892400):Sun, 27 Mar 2005 03:00:00 +0000 | D…
42 gmmktime(4,0,0,3,27,2005): 1111896000 | gmdate('r', 1111896000):Sun, 27 Mar 2005 04:00:00 +0000 | D…
45 gmmktime(1,0,0,10,30,2005): 1130634000 | gmdate('r', 1130634000):Sun, 30 Oct 2005 01:00:00 +0000
46 gmmktime(2,0,0,10,30,2005): 1130637600 | gmdate('r', 1130637600):Sun, 30 Oct 2005 02:00:00 +0000 | …
47 gmmktime(3,0,0,10,30,2005): 1130641200 | gmdate('r', 1130641200):Sun, 30 Oct 2005 03:00:00 +0000 | …
[all …]
H A Dgmmktime_variation8.phpt2 Test gmmktime() function : usage variation - Passing octal and hexadecimal values to arguments.
5 echo "*** Testing gmmktime() : usage variation ***\n";
15 echo "\n-- Testing gmmktime() function with supplying octal values to arguments --\n";
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
26 echo "\n-- Testing gmmktime() function with supplying hexa decimal values to arguments --\n";
27 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
30 *** Testing gmmktime() : usage variation ***
32 -- Testing gmmktime() function with supplying octal values to arguments --
35 -- Testing gmmktime() function with supplying hexa decimal values to arguments --
H A Dgmmktime_variation9.phpt9 echo "*** Testing gmmktime() : usage variation ***\n";
29 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) );
30 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
31 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) );
32 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
33 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
37 *** Testing gmmktime() : usage variation ***
44 Warning: gmmktime(): Epoch doesn't fit in a PHP integer in %s on line %d
47 Warning: gmmktime(): Epoch doesn't fit in a PHP integer in %s on line %d
55 Warning: gmmktime(): Epoch doesn't fit in a PHP integer in %s on line %d
[all …]
H A Dgmmktime_basic.phpt2 Test gmmktime() function : basic functionality
5 echo "*** Testing gmmktime() : basic functionality ***\n";
15 // Calling gmmktime() with all possible arguments
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
20 *** Testing gmmktime() : basic functionality ***
H A Dgmmktime_variation9_64bits.phpt2 Test gmmktime() function : usage variation - Passing positive and negative float values to argument…
9 echo "*** Testing gmmktime() : usage variation ***\n";
29 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) );
30 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
31 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) );
32 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
33 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
37 *** Testing gmmktime() : usage variation ***
H A Dgmstrftime_basic.phpt9 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation11.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation8.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation17.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation19.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation12.phpt14 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation18.phpt14 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation9.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation20.phpt14 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation4.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation10.phpt14 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation21.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation13.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation3.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation5.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation14.phpt14 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation15.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation7.phpt8 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
H A Dgmstrftime_variation22.phpt17 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);

Completed in 29 milliseconds

12