Home
last modified time | relevance | path

Searched refs:time_nanosleep (Results 1 – 9 of 9) sorted by relevance

/PHP-8.1/ext/standard/tests/time/
H A Dbug60222.phpt2 Bug #60222 (time_nanosleep() does validate input params)
6 time_nanosleep(-1, 0);
12 time_nanosleep(0, -1);
18 time_nanosleep(): Argument #1 ($seconds) must be greater than or equal to 0
19 time_nanosleep(): Argument #2 ($nanoseconds) must be greater than or equal to 0
/PHP-8.1/ext/standard/tests/misc/
H A Dtime_nanosleep_error3.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
5 if (!function_exists('time_nanosleep')) die("skip");
12 time_nanosleep(-2, 1000);
16 Fatal error: Uncaught ValueError: time_nanosleep(): Argument #1 ($seconds) must be greater than or …
18 #0 %s(%d): time_nanosleep(-2, 1000)
H A Dtime_nanosleep_error4.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
6 if (!function_exists('time_nanosleep')) die("skip");
13 time_nanosleep(0, -10);
17 Fatal error: Uncaught ValueError: time_nanosleep(): Argument #2 ($nanoseconds) must be greater than…
19 #0 %s(%d): time_nanosleep(0, -10)
H A Dtime_nanosleep_error5.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
4 <?php if (!function_exists('time_nanosleep')) die("skip"); ?>
10 time_nanosleep(0, 1000000000);
16 #0 %s(%d): time_nanosleep(0, 1000000000)
H A Dtime_nanosleep_basic.phpt2 time_nanosleep — Delay for a number of seconds and nanoseconds
4 <?php if (!function_exists('time_nanosleep')) die("skip");
11 $nano = time_nanosleep(2, 100000);
/PHP-8.1/ext/pcntl/tests/
H A Dasync_signals_2.phpt20 'time_nanosleep',
/PHP-8.1/ext/standard/
H A Dbasic_functions.stub.php382 function time_nanosleep(int $seconds, int $nanoseconds): array|bool {} function
H A Dbasic_functions_arginfo.h2336 ZEND_FUNCTION(time_nanosleep);
2965 ZEND_FE(time_nanosleep, arginfo_time_nanosleep)
H A Dbasic_functions.c1250 PHP_FUNCTION(time_nanosleep) argument

Completed in 53 milliseconds