PHP time_sleep_until() Function

The time_sleep_until() function delays execution of the current script until the specified time.

bool time_sleep_until ( float $timestamp )

Makes the script sleep until the specified timestamp.time_sleep_until — Make the script sleep until the specified time

Example -

ParameterDescription
timestampThe timestamp when the script should wake.

Return Values-

Returns TRUE on success or FALSE on failure.