Home > PHP > Function > Misc. > time_sleep_until()

time_sleep_until()

time_sleep_until - Make the script sleep until the specified time

Syntax

bool time_sleep_until (float $timestamp)

Arguments

  • timestamp - The timestamp when the script should wake.

Description

Makes the script sleep until the specified timestamp.

Version

PHP 5.1.0

Return value

Returns TRUE on success or FALSE on failure.