sleep
Delay execution
&reftitle.description;
intsleep
intseconds
Delays the program execution for the given number of
seconds.
&reftitle.parameters;
seconds
Halt time in seconds.
&reftitle.returnvalues;
Returns zero on success, or &false; on errors. If the call was interrupted
by a signal, sleep returns the number of seconds left
to sleep.
&reftitle.errors;
If the specified number of seconds is negative,
this function will generate a E_WARNING.
&reftitle.examples;
sleep example
]]>
This example will output (after 10 seconds)
&reftitle.seealso;
usleep
time_nanosleep
time_sleep_until
set_time_limit