Home
last modified time | relevance | path

Searched refs:sleep (Results 1 – 25 of 78) sorted by relevance

1234

/PHP-7.4/ext/standard/tests/general_functions/
H A Dsleep_error.phpt2 Test sleep() function : error conditions
5 /* Prototype : int sleep ( int $seconds )
11 echo "*** Testing sleep() : error conditions ***\n";
13 echo "\n-- Testing sleep() function with zero arguments --\n";
14 var_dump( sleep() );
19 var_dump( sleep($seconds, $extra_arg) );
21 echo "\n-- Testing sleep() function with negative interval --\n";
23 var_dump( sleep($seconds) );
28 *** Testing sleep() : error conditions ***
30 -- Testing sleep() function with zero arguments --
[all …]
H A Dsleep_basic.phpt2 Test sleep() function : basic functionality
9 /* Prototype : int sleep ( int $seconds )
14 echo "*** Testing sleep() : basic functionality ***\n";
16 $sleeptime = 1; // sleep for 1 seconds
23 sleep($sleeptime);
36 echo "TEST FAILED - time is ${time} secs and sleep was ${sleeptime} secs\n";
41 *** Testing sleep() : basic functionality ***
H A Dbug39322.phpt6 if (!is_executable('/bin/sleep')) echo 'skip sleep not found';
17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
20 sleep(1); // wait a bit to let the process finish
29 string(14) "/bin/sleep 120"
H A Dproc_open02.phpt5 if (!is_executable('/bin/sleep')) echo 'skip no sleep';
13 '/bin/sleep 2',
18 usleep(20000); // let the OS run the sleep process before sending the signal
37 string(12) "/bin/sleep 2"
56 string(12) "/bin/sleep 2"
H A Dproc_open_pipes_sleep.inc2 sleep(1);
/PHP-7.4/ext/reflection/tests/
H A D013.phpt7 echo $funcs["sleep"]->getName();
10 sleep
H A D019.phpt5 $f = new ReflectionFunction("sleep");
/PHP-7.4/ext/standard/tests/streams/
H A Dbug70198.phpt15 - on the client side - sleep(1) and check feof()
28 sleep(1);
42 sleep(1);
48 sleep(2);
/PHP-7.4/tests/basic/
H A Dtimeout_variation_1.phpt13 sleep(1);
14 sleep(1);
H A Dtimeout_variation_4.phpt13 call_user_func('sleep', 1);
14 call_user_func('sleep', 1);
H A Dtimeout_variation_9.phpt14 register_shutdown_function("sleep", 1);
15 register_shutdown_function("sleep", 1);
H A Dtimeout_variation_10.phpt15 register_shutdown_function("sleep", 1);
16 register_shutdown_function("sleep", 1);
H A Dtimeout_variation_2.phpt14 array_map("sleep", $a);
/PHP-7.4/ext/opcache/tests/
H A Dissue0140.phpt21 sleep(2);
28 sleep(2);
/PHP-7.4/ext/standard/tests/file/
H A D005_variation-win32.phpt52 sleep(2);
57 sleep(2);
73 sleep(2);
79 sleep(2);
87 sleep(2);
95 sleep(2);
102 sleep(2);
108 sleep(2);
115 sleep(2);
120 sleep(2);
[all …]
H A Dstat_variation1-win32-mb.phpt38 sleep(2);
57 sleep(2);
H A Dstat_variation1-win32.phpt38 sleep(2);
57 sleep(2);
H A Dstat_variation3-win32.phpt33 sleep(2);
45 sleep(2);
H A Dstat_variation4-win32.phpt39 sleep(2);
58 sleep(2);
H A Dstat_variation6-win32.phpt39 sleep(2);
56 sleep(2);
/PHP-7.4/ext/zlib/tests/
H A Ddata.inc7 And by opposing, end them. To die, to sleep;
8 No more; and by a sleep to say we end
11 Devoutly to be wish'd. To die, to sleep;
12 To sleep, perchance to dream. Ay, there's the rub,
13 For in that sleep of death what dreams may come,
69 and wicked dreams abuse The curtain'd sleep; witchcraft celebrates
/PHP-7.4/ext/pcntl/tests/
H A D001.phpt18 sleep(1);
55 sleep(1);
H A Dbug73783.phpt19 sleep(1);
/PHP-7.4/ext/standard/tests/mail/
H A Dbug72964.phpt27 // sleep for a while to allow msg to be delivered
28 sleep(1);
H A Dbug80706.phpt27 // sleep for a while to allow msg to be delivered
28 sleep(1);

Completed in 23 milliseconds

1234