Home
last modified time | relevance | path

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

1234

/PHP-8.2/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.phpt11 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds",
12 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds",
13 "2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds",
41 …[2004-02-14 23:59:59 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds]
42 …[2004-02-15 00:00:00 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds]
43 …[2004-02-15 00:00:01 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds]
56 …[2004-02-14 23:59:59 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds]
57 …[2004-02-15 00:00:00 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds]
58 …[2004-02-15 00:00:01 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds]
86 … [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 Dbug-gh8964-002.phpt7 for ($seconds = 0; $seconds < 3; $seconds++)
10 $delta = new \DateInterval(sprintf('PT%dS', $seconds));
H A Dgetdate_variation5.phpt37 ["seconds"]=>
63 ["seconds"]=>
89 ["seconds"]=>
115 ["seconds"]=>
141 ["seconds"]=>
167 ["seconds"]=>
193 ["seconds"]=>
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_variation4.phpt33 ["seconds"]=>
59 ["seconds"]=>
85 ["seconds"]=>
111 ["seconds"]=>
H A Dgetdate_variation2.phpt32 ["seconds"]=>
58 ["seconds"]=>
84 ["seconds"]=>
H A Dgetdate_variation3.phpt32 ["seconds"]=>
58 ["seconds"]=>
84 ["seconds"]=>
H A Ddate_interval_non_relative_warning.phpt9 '+72 seconds UTC',
28 Warning: DateInterval::createFromDateString(): String '+72 seconds UTC' contains non-relative eleme…
36 Warning: date_interval_create_from_date_string(): String '+72 seconds UTC' contains non-relative el…
H A D008.phpt16 ["seconds"]=>
40 ["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_basic.phpt23 ["seconds"]=>
47 ["seconds"]=>
H A Dgmdate_variation11.phpt19 echo "\n-- Testing gmdate() function with seconds since Unix Epoch format --\n";
35 -- Testing gmdate() function with seconds since Unix Epoch format --
H A Dbug76770.phpt2 Bug #76770 'U' modifier in 'datetime::createFromFormat' adds seconds to other specifiers
/PHP-8.2/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 Fatal error: Uncaught ValueError: time_nanosleep(): Argument #1 ($seconds) must be greater than or …
H A Dtime_nanosleep_error5.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
14 Fatal error: Uncaught ValueError: Nanoseconds was not in the range 0 to 999 999 999 or seconds was …
/PHP-8.2/Zend/
H A Dzend_max_execution_timer.c76 void zend_max_execution_timer_settime(zend_long seconds) /* {{{ }*/ in zend_max_execution_timer_settime() argument
86 if (seconds < 0 || seconds > 999999999) { in zend_max_execution_timer_settime()
87 seconds = 0; in zend_max_execution_timer_settime()
91 its.it_value.tv_sec = seconds; in zend_max_execution_timer_settime()
95 …er %#jx on thread %d (%ld seconds)...\n", (uintmax_t) timer, (pid_t) syscall(SYS_gettid), seconds); in zend_max_execution_timer_settime()
H A Dzend_max_execution_timer.h26 void zend_max_execution_timer_settime(zend_long seconds);
32 #define zend_max_execution_timer_settime(seconds) argument
/PHP-8.2/ext/standard/tests/general_functions/
H A Dusleep_basic.phpt13 $sleeptime = 1000000; // == 1 seconds
25 $summary = "Thread slept for " . $time . " micro-seconds\n";
35 TEST PASSED: Thread slept for %f micro-seconds
H A Dsleep_basic.phpt11 $sleeptime = 1; // sleep for 1 seconds
26 echo "Thread slept for " . $time . " seconds\n";
37 Thread slept for %f seconds
H A Dgetrusage_basic.phpt16 echo "User time used (seconds) " . $dat["ru_utime.tv_sec"] . "\n";
21 User time used (seconds) %d
/PHP-8.2/ext/standard/tests/streams/
H A Dstream_set_timeout_error.phpt18 $seconds = 10;
24 var_dump( stream_set_timeout($client, $seconds) );
31 var_dump( stream_set_timeout($filestream, $seconds) );
/PHP-8.2/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-8.2/ext/date/lib/
H A Dunixtime2tm.c60 timelib_sll hours, minutes, seconds; in timelib_unixtime2gmt() local
69 seconds = remainder % 60; in timelib_unixtime2gmt()
70 TIMELIB_DEBUG(printf(" hour=%lld, minute=%lld, second=%lld\n", hours, minutes, seconds);); in timelib_unixtime2gmt()
74 tm->s = seconds; in timelib_unixtime2gmt()

Completed in 33 milliseconds

1234