<?php
// wait (sleep) for 10 seconds
sleep(10);
?>
sleep($number_of_seconds);
usleep($number_of_microseconds);
<?php
echo date('h:i:s'); //17:30:30
// Stop 1 second
sleep(1);
//usleep(1000000); // the same in microsecondes
//for more 1 second use sleep
echo date('h:i:s');//17:30:31
?>