I just had a look at the docs on sleep().
Where would you use this function?
Is it there to give the CPU a break in an expensive function?
Any common
I wouldn't typically use it for serving web pages, but it's useful for command line scripts.
$ready = false; do { $ready = some_monitor_function(); sleep(2); } while (!$ready);