How to use the sleep () function in php
This article focuses on "how to use the sleep () function in php". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor learn how to use the sleep () function in php.
1. Sleep () is the built-in function of PHP. Used to delay the execution of a program by a given number of seconds. This function accepts only one parameter, which must be transferred.
2. The $seconds parameter represents the delay time in seconds.
Return value: zero on success and FALSE on error. If the call is interrupted by a signal, the function returns a non-zero value.
When seconds are negative, this function generates E_WARNING, which applies to 4 +.
Grammar
Int sleep (int $seconds)
Example
For ($iSuppli