PHP sleep () function, usleep () function, sleepusleep
PHP sleep () function
Definition and usage
The sleep () function delays code execution for several seconds.Syntax sleep (seconds)Seconds required. The pause time in seconds.Return Value
If the
This article mainly introduces the PHPsleep () function and usleep () function. if you need it, refer to the PHP sleep () function.
Definition and usage
The sleep () function delays code execution for several seconds.Syntax sleep (seconds)Seconds
Tag: equals class CPU style note Code strong log IntegerPause code Execution in PHP for a certain time, there are two functions can be implemented, one is sleep (), the other is Usleep (), their parameters are an integer value. Sleep () is how many
Pause code Execution in PHP for a certain time, there are two functions can be implemented, one is sleep (), the other is usleep (), their parameters are an integer value. Sleep () is how many seconds are paused, and usleep () is how many
Pause code Execution in PHP for a certain time, there are two functions can be implemented, one is sleep (), the other is Usleep (), their parameters are an integer value. Sleep () is how many seconds are paused, and usleep () is how many
1. PHP Sleep () function
Definition and usage
The sleep () function delays code execution for several seconds.Grammar Sleep (seconds)seconds required. The pause time in seconds.return value
If successful, returns 0, otherwise
PHP Sleep () function
Definitions and usage
The sleep () function delays code execution for several seconds.Grammar Sleep (seconds)seconds required. The pause time in seconds.return value
If successful, returns 0, otherwise returns
Usleep (PHP3, PHP44.0.0) usleep-description of the number of milliseconds in which the voidusleep (intmicro_seconds) usleep () function is paused. for the number of milliseconds specified by micro_seconds, see sleep (). note: This function cannot
Definition and usage
The Usleep () function delays code execution for several microseconds.
Grammar
Usleep (microseconds)
Parameter description
microseconds required. Pause time in microseconds.
return value
no return value.
Hints and Notes
Note:
Definitions and usage
The Usleep () function delays code execution for several microseconds. Grammar
Usleep (microseconds) parameter description
microseconds required. The pause time in microseconds. return value
no return value. Tips and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.