Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php wait

<?php
// wait (sleep) for 10 seconds
sleep(10);
?>
Comment

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

PREVIOUS NEXT
Code Example
Php :: phpexcel set width 
Php :: wordpress debug 
Php :: php get user agent 
Php :: Warning: Cannot modify header information - headers already sent by (output started at C:xampphtdocsheermatkamyprofile.php:48) in C:xampphtdocsheermatkamyprofile.php on line 144 
Php :: php beautify json 
Php :: wordpress fs_method direct 
Php :: bcmath php extension in ubuntu 
Php :: php trim all array elements 
Php :: php remove extension from url 
Php :: php error reporting all 
Php :: laravel get current domain 
Php :: php create file if not exist 
Php :: laravel description substring 
Php :: execute artisan command from route 
Php :: if field is filled out acf 
Php :: migration not found laravel 
Php :: enablequerylog laravel 
Php :: php check whether the url is http or https 
Php :: laravel enum migration example 
Php :: how to install bootstrap in laravel 
Php :: php stdclass to array 
Php :: fix to 2 decimal places php 
Php :: laravel ide helper 
Php :: wordpress if admin 
Php :: php sec into date time 
Php :: laravel clear everything 
Php :: call seeder laravel 
Php :: init hook wordpress 
Php :: how to decode jwt token in php 
Php :: how to check if username already exists in php 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =