php man page for time_sleep_until

Query: time_sleep_until

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TIME_SLEEP_UNTIL(3)							 1						       TIME_SLEEP_UNTIL(3)

time_sleep_until - Make the script sleep until the specified time

SYNOPSIS
bool time_sleep_until (float $timestamp)
DESCRIPTION
Makes the script sleep until the specified $timestamp.
PARAMETERS
o $timestamp - The timestamp when the script should wake.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | This function is now available on Windows plat- | | | forms. | | | | +--------+---------------------------------------------------+
ERRORS
/EXCEPTIONS If the specified $timestamp is in the past, this function will generate a E_WARNING.
EXAMPLES
Example #1 A time_sleep_until(3) example <?php //returns false and generates a warning var_dump(time_sleep_until(time()-1)); // may only work on faster computers, will sleep up to 0.2 seconds var_dump(time_sleep_until(microtime(true)+0.2)); ?>
NOTES
Note All signals will be delivered after the script wakes up.
SEE ALSO
sleep(3), usleep(3), time_nanosleep(3), set_time_limit(3). PHP Documentation Group TIME_SLEEP_UNTIL(3)
Related Man Pages
microtime(3) - php
date_sunset(3) - php
is_float(3) - php
time_nanosleep(3) - php
time_sleep_until(3) - php
Similar Topics in the Unix Linux Community
SCP and then touch .done file
Sleep Until Query
How to Compare timestamp
Add timestamp and copy files
FTP search ,grep using perl