Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to pause php script

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
?>
Comment

PREVIOUS NEXT
Code Example
Php :: carbon now format 
Php :: redirect back in codeigniter 
Php :: php temp directory 
Php :: php get first and last day of previous month 
Php :: convert string to decimal php 
Php :: laravel collection tojson 
Php :: behamin bresource collection 
Php :: laravel insert with id 
Php :: whereyear laravel 
Php :: get site url with protocol in php 
Php :: phpspreadsheet setcellvalue row background color 
Php :: searching and removing element from an array php 
Php :: php delete a folder 
Php :: wordpress debug true 
Php :: wordpress echo the page title 
Php :: wordpress display all variables 
Php :: get domain from url cakephp 
Php :: wordpress disable xmlrpc 
Php :: Google_Service_Calendar Event Date Time 
Php :: ubuntu php7.4-curl : Depends: libcurl3 (= 7.44.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages. 
Php :: php array to js 
Php :: php version check code 
Php :: php format date 
Php :: bind multiple data in one id in php using php using for loop 
Php :: get wordpress id 
Php :: php remove space before and after string 
Php :: login with email or phone number laravel 
Php :: loop through values of hash php 
Php :: convert php array to javascript array 
Php :: wordpress get post taxonomy terms 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =