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

03:09:52
03:09:53

2

03:09:53
03:09:54

3

bool(false)

4

bool(true)

PHP