PHP program to Delay the program execution for the specified number of seconds
<?php
// current time
echo date('h:i:s') . "\n";
// sleep for 5 seconds
sleep(5);
// wake up
echo date('h:i:s')."\n";
?>
Output:
02:47:42
02:47:47
