Home
last modified time | relevance | path

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

/php-src/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-src/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-src/ext/pcntl/tests/
H A Dasync_signals_2.phpt20 'time_nanosleep',
/php-src/Zend/tests/fibers/
H A Dsignal-async.phpt20 time_nanosleep(1, 0);
/php-src/ext/standard/
H A Dbasic_functions.c1160 PHP_FUNCTION(time_nanosleep) argument
H A Dbasic_functions.stub.php1966 function time_nanosleep(int $seconds, int $nanoseconds): array|bool {} function
H A Dbasic_functions_arginfo.h2406 ZEND_FUNCTION(time_nanosleep);
3000 ZEND_FE(time_nanosleep, arginfo_time_nanosleep)

Completed in 31 milliseconds