Home
last modified time | relevance | path

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

123

/PHP-5.5/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]
76 …[2004-02-14 23:59:59 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds]
[all …]
H A Dgetdate_variation5.phpt44 ["seconds"]=>
70 ["seconds"]=>
96 ["seconds"]=>
122 ["seconds"]=>
148 ["seconds"]=>
174 ["seconds"]=>
200 ["seconds"]=>
H A Dgetdate_variation1.phpt100 ["seconds"]=>
126 ["seconds"]=>
152 ["seconds"]=>
198 ["seconds"]=>
224 ["seconds"]=>
250 ["seconds"]=>
276 ["seconds"]=>
302 ["seconds"]=>
328 ["seconds"]=>
394 ["seconds"]=>
[all …]
H A Dgetdate_variation4.phpt40 ["seconds"]=>
66 ["seconds"]=>
92 ["seconds"]=>
118 ["seconds"]=>
H A Dgetdate_variation6.phpt34 ["seconds"]=>
60 ["seconds"]=>
86 ["seconds"]=>
H A Dgetdate_variation2.phpt39 ["seconds"]=>
65 ["seconds"]=>
91 ["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 --
H A Dgetdate_variation7.phpt29 \["seconds"\]=>
55 \["seconds"\]=>
/PHP-5.5/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_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_error3.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
17 Warning: time_nanosleep(): The seconds value must be greater than 0 in %stime_nanosleep_error3.php …
H A Dtime_nanosleep_error2.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
H A Dtime_nanosleep_error1.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
/PHP-5.5/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 = 5; // sleep for 5 seconds
31 echo "Thread slept for " . $time . " seconds\n";
42 Thread slept for %f 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 Dusleep_basic.phpt10 * Description: Delays program execution for the given number of micro seconds.
18 $sleeptime = 5000000; // == 5 seconds
30 echo "Thread slept for " . $time . " micro-seconds\n";
41 Thread slept for %f micro-seconds
H A Dgetrusage_basic.phpt25 echo "User time used (seconds) " . $dat["ru_utime.tv_sec"] . "\n";
31 User time used (seconds) %d
/PHP-5.5/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-5.5/ext/date/lib/
H A Dunixtime2tm.c45 timelib_sll hours, minutes, seconds; in timelib_unixtime2gmt() local
120 seconds = remainder % 60; in timelib_unixtime2gmt()
121 TIMELIB_DEBUG(printf(" hour=%lld, minute=%lld, second=%lld\n", hours, minutes, seconds);); in timelib_unixtime2gmt()
128 tm->s = seconds; in timelib_unixtime2gmt()

Completed in 63 milliseconds

123