The time_sleep_until() function delays execution of the current script until the specified time.
Syntax
time_sleep_until(timestamp)
Example
Delay the execution of the current script until 10 seconds:
<?php
// wake up ten seconds from now
time_sleep_until(time()+10);
?>
Syntax
time_sleep_until(timestamp)
Example
Delay the execution of the current script until 10 seconds:
<?php
// wake up ten seconds from now
time_sleep_until(time()+10);
?>
No comments:
Post a Comment