Home
last modified time | relevance | path

Searched refs:seconds (Results 1 – 25 of 63) sorted by relevance

123

/PHP-7.4/ext/date/tests/
H A Dstrtotime-relative.phpt12 '80412 seconds',
13 '86399 seconds',
14 '86400 seconds',
15 '86401 seconds',
16 '112913 seconds',
53 +80412 seconds: 2008-02-29T10:20:12+0000
54 -80412 seconds: 2008-02-27T13:39:48+0000
55 +86399 seconds: 2008-02-29T11:59:59+0000
56 -86399 seconds: 2008-02-27T12:00:01+0000
57 +86400 seconds: 2008-02-29T12:00:00+0000
[all …]
H A Dbug27780.phpt16 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds",
17 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds",
18 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds",
46 …[2004-02-14 23:59:59 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds]
47 …[2004-02-15 00:00:00 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds]
48 …[2004-02-15 00:00:01 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds]
61 …[2004-02-14 23:59:59 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds]
62 …[2004-02-15 00:00:00 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds]
63 …[2004-02-15 00:00:01 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds]
91 … [2004-02-14 23:59:59 %s] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds]
[all …]
H A Dbug68078_negative.phpt7 $earlyDate1 = DateTime::createFromFormat('U.u', '1.8642')->modify('-5 seconds');
8 $earlyDate2 = DateTime::createFromFormat('U.u', '1.2768')->modify('-5 seconds');
9 $earlyDate3 = DateTime::createFromFormat('U.u', '1.2768')->modify('-5 seconds');
H A Dgetdate_variation5.phpt44 ["seconds"]=>
70 ["seconds"]=>
96 ["seconds"]=>
122 ["seconds"]=>
148 ["seconds"]=>
174 ["seconds"]=>
200 ["seconds"]=>
H A Dgetdate_variation4.phpt40 ["seconds"]=>
66 ["seconds"]=>
92 ["seconds"]=>
118 ["seconds"]=>
H A Dgetdate_variation2.phpt39 ["seconds"]=>
65 ["seconds"]=>
91 ["seconds"]=>
H A Dgetdate_variation6.phpt34 ["seconds"]=>
60 ["seconds"]=>
86 ["seconds"]=>
H A Ddate_create-relative.phpt37 '10000000000 seconds',
82 +10000000000 seconds: 2325-01-18T05:46:40+0000
83 -10000000000 seconds: 1691-04-09T18:13:20+0000
H A Dgetdate_variation3.phpt39 ["seconds"]=>
65 ["seconds"]=>
91 ["seconds"]=>
H A D008.phpt19 ["seconds"]=>
43 ["seconds"]=>
H A Dgetdate_basic.phpt29 ["seconds"]=>
53 ["seconds"]=>
H A Dgmdate_variation11.phpt25 echo "\n-- Testing gmdate() function with seconds since Unix Epoch format --\n";
42 -- Testing gmdate() function with seconds since Unix Epoch format --
/PHP-7.4/ext/standard/tests/misc/
H A Dtime_nanosleep_basic.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
14 echo "Slept for 2 seconds, 100 milliseconds.\n";
18 $seconds = $nano['seconds'];
21 echo "Time remaining: $seconds seconds, $nanoseconds nanoseconds.";
25 Slept for 2 seconds, 100 milliseconds.
H A Dtime_nanosleep_error3.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
16 Warning: time_nanosleep(): The seconds value must be greater than 0 in %stime_nanosleep_error3.php …
H A Dtime_nanosleep_error5.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
14 Warning: time_nanosleep(): nanoseconds was not in the range 0 to 999 999 999 or seconds was negativ…
H A Dtime_nanosleep_error4.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
/PHP-7.4/ext/standard/tests/general_functions/
H A Dsleep_error.phpt5 /* Prototype : int sleep ( int $seconds )
6 * Description: Delays the program execution for the given number of seconds .
17 $seconds = 10;
19 var_dump( sleep($seconds, $extra_arg) );
22 $seconds = -10;
23 var_dump( sleep($seconds) );
42 Warning: sleep(): Number of seconds must be greater than or equal to 0 in %s on line %d
H A Dsleep_basic.phpt9 /* Prototype : int sleep ( int $seconds )
10 * Description: Delays the program execution for the given number of seconds .
16 $sleeptime = 1; // sleep for 1 seconds
31 echo "Thread slept for " . $time . " seconds\n";
42 Thread slept for %f seconds
H A Dusleep_basic.phpt10 * Description: Delays program execution for the given number of micro seconds.
18 $sleeptime = 1000000; // == 1 seconds
30 $summary = "Thread slept for " . $time . " micro-seconds\n";
41 TEST PASSED: Thread slept for %f micro-seconds
H A Dusleep_error.phpt6 * Description: Delays program execution for the given number of micro seconds.
18 $seconds = 10;
20 var_dump( usleep($seconds, $extra_arg) );
23 $seconds = -10;
24 var_dump( usleep($seconds) );
H A Dgetrusage_basic.phpt22 echo "User time used (seconds) " . $dat["ru_utime.tv_sec"] . "\n";
28 User time used (seconds) %d
/PHP-7.4/ext/standard/tests/streams/
H A Dstream_set_timeout_error.phpt5 /* Prototype : proto bool stream_set_timeout(resource stream, int seconds, int microseconds)
6 * Description: Set timeout on stream read to seconds + microseonds
27 $seconds = 10;
30 var_dump( stream_set_timeout($client, $seconds, $microseconds, $extra_arg) );
35 $seconds = 10;
41 var_dump( stream_set_timeout($client, $seconds) );
44 var_dump( stream_set_timeout($seconds, $seconds) );
48 var_dump( stream_set_timeout($filestream, $seconds) );
/PHP-7.4/Zend/tests/
H A Dbug74093.phpt2 Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log)
20 Fatal error: Maximum execution time of 1+1 seconds exceeded %s
/PHP-7.4/ext/date/lib/
H A Dunixtime2tm.c38 timelib_sll hours, minutes, seconds; in timelib_unixtime2gmt() local
102 seconds = remainder % 60; in timelib_unixtime2gmt()
103 TIMELIB_DEBUG(printf(" hour=%lld, minute=%lld, second=%lld\n", hours, minutes, seconds);); in timelib_unixtime2gmt()
110 tm->s = seconds; in timelib_unixtime2gmt()
/PHP-7.4/ext/standard/tests/time/
H A Dbug60222.phpt10 Warning: time_nanosleep(): The seconds value must be greater than 0 in %s on line %d

Completed in 26 milliseconds

123