PHP time_sleep_until() Function
Complete PHP Misc Reference
Definition and Usage
The time_sleep_until() function delays execution of the current script until
the specified
time.
This function returns TRUE on success, or FALSE on failure.
Syntax
time_sleep_until(timestamp)
|
| Parameter |
Description |
| timestamp |
Required. Specifies the time to wake |
Tips and Notes
Note: This function does not work on Windows platforms.
Example
<?php
// wake up ten seconds from now
time_sleep_until(time()+10);
?>
|
Complete PHP Misc Reference
Use a web development platform that will help you save a lot of time and bring excitement to your daily development work.
It will also create professional best-practices around your code development and team collaboration.
Try Springloops now, the web development platform
 |
|
Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy
professionals who need to balance work, family, and career building.
The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.
The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.
|
|