Menu
Riverview Church

TIME_SLEEP_UNTIL

Make the script sleep until the specified time

SYNTAX

time_sleep_until ( float $timestamp ) : bool

PARAMETERS

timestamp

The timestamp when the script should wake.

RETURN

Returns TRUE on success or FALSE on failure.

EXAMPLES

1

11:03:44
11:03:45

2

11:03:45
11:03:46

3

bool(false)

4

bool(true)

PHP