Search w3schools.com:

SHARE THIS PAGE

PHP time_sleep_until() Function


PHP Misc Reference 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);
?>


PHP Misc Reference Complete PHP Misc Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]