Complete PHP Misc Reference
The usleep() function delays execution of the current script for a specified number of microseconds (a microsecond equals one millionth of a second).
| Parameter | Description |
|---|---|
| microseconds | Required. Specifies the number of microseconds to delay the script |
Note: This function did not work on Windows platforms until PHP 5.
The output of the code above will be something like this:
Complete PHP Misc Reference
Your message has been sent to W3Schools.