sleep microseconds php

Solutions on MaxInterview for sleep microseconds php by the best coders in the world

showing results for - "sleep microseconds php"
Maiwenn
15 Apr 2018
1usleep(10);	// Sleeps 1 millisecond
Alex
26 Jan 2017
1
2<?php
3
4// Current time
5echo date('h:i:s') . "\n";
6
7// wait for 2 seconds
8usleep(2000000);
9
10// back!
11echo date('h:i:s') . "\n";
12
13?>
14
15