Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

usleep php

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
?>
 
PREVIOUS NEXT
Tagged: #usleep #php
ADD COMMENT
Topic
Name
5+3 =