Search
 
SCRIPT & CODE EXAMPLE
 

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

PREVIOUS NEXT
Code Example
Php :: array empty check in php 
Php :: php remove bom 
Php :: php date today plus 1 month 
Php :: phpmyadmin change database import size 
Php :: if null blade laravel 
Php :: laravel change column type 
Php :: for install perticular version in vue with laravel 
Php :: how to echo line number in php 
Php :: get_template_part parameters 
Php :: php get string between two strings 
Php :: php read xml from url 
Php :: laravel not finding asset files in public directory 
Php :: php default timezone 
Php :: sleep function in php 
Php :: Hide all updates from WordPress 
Php :: validate audio file in laravel 
Php :: how if charactor is exist in text in laravel 
Php :: run php server mac 
Php :: deprcation problem phpmyadmin ubuntu 
Php :: getting values from url php 
Php :: check if post id exists wordpress 
Php :: php get date using timezone 
Php :: get host from url php 
Php :: how convert big text to array that text have br in laravel 
Php :: create custom domain in localhost xampp 
Php :: laravel get extension from url 
Php :: php get domain name from url 
Php :: php object to xml 
Php :: how to add cutom menu option in wordpress 
Php :: change php version in ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =