/PHP-5.6/ext/date/tests/ |
H A D | strtotime-relative.phpt | 12 '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 D | bug27780.phpt | 16 "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 D | bug68078_negative.phpt | 7 $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 D | getdate_variation5.phpt | 44 ["seconds"]=> 70 ["seconds"]=> 96 ["seconds"]=> 122 ["seconds"]=> 148 ["seconds"]=> 174 ["seconds"]=> 200 ["seconds"]=>
|
H A D | getdate_variation1.phpt | 100 ["seconds"]=> 126 ["seconds"]=> 152 ["seconds"]=> 198 ["seconds"]=> 224 ["seconds"]=> 250 ["seconds"]=> 276 ["seconds"]=> 302 ["seconds"]=> 328 ["seconds"]=> 394 ["seconds"]=> [all …]
|
H A D | getdate_variation4.phpt | 40 ["seconds"]=> 66 ["seconds"]=> 92 ["seconds"]=> 118 ["seconds"]=>
|
H A D | getdate_variation2.phpt | 39 ["seconds"]=> 65 ["seconds"]=> 91 ["seconds"]=>
|
H A D | getdate_variation6.phpt | 34 ["seconds"]=> 60 ["seconds"]=> 86 ["seconds"]=>
|
H A D | date_create-relative.phpt | 37 '10000000000 seconds', 82 +10000000000 seconds: 2325-01-18T05:46:40+0000 83 -10000000000 seconds: 1691-04-09T18:13:20+0000
|
H A D | getdate_variation3.phpt | 39 ["seconds"]=> 65 ["seconds"]=> 91 ["seconds"]=>
|
H A D | 008.phpt | 19 ["seconds"]=> 43 ["seconds"]=>
|
H A D | getdate_basic.phpt | 29 ["seconds"]=> 53 ["seconds"]=>
|
H A D | gmdate_variation11.phpt | 25 echo "\n-- Testing gmdate() function with seconds since Unix Epoch format --\n"; 42 -- Testing gmdate() function with seconds since Unix Epoch format --
|
H A D | getdate_variation7.phpt | 29 \["seconds"\]=> 55 \["seconds"\]=>
|
/PHP-5.6/ext/standard/tests/misc/ |
H A D | time_nanosleep_basic.phpt | 2 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 D | time_nanosleep_error5.phpt | 2 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 D | time_nanosleep_error3.phpt | 2 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 D | time_nanosleep_error1.phpt | 2 time_nanosleep — Delay for a number of seconds and nanoseconds
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | sleep_error.phpt | 5 /* 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 D | sleep_basic.phpt | 9 /* 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 D | usleep_error.phpt | 6 * 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 D | usleep_basic.phpt | 10 * 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 D | getrusage_basic.phpt | 25 echo "User time used (seconds) " . $dat["ru_utime.tv_sec"] . "\n"; 31 User time used (seconds) %d
|
/PHP-5.6/ext/standard/tests/streams/ |
H A D | stream_set_timeout_error.phpt | 5 /* 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.6/ext/date/lib/ |
H A D | unixtime2tm.c | 49 timelib_sll hours, minutes, seconds; in timelib_unixtime2gmt() local 124 seconds = remainder % 60; in timelib_unixtime2gmt() 125 TIMELIB_DEBUG(printf(" hour=%lld, minute=%lld, second=%lld\n", hours, minutes, seconds);); in timelib_unixtime2gmt() 132 tm->s = seconds; in timelib_unixtime2gmt()
|