After a few seconds delay execution PHP, PHP delayed execution, PHP usleep standstill after a few milliseconds () and sleep ()

 

// usleep () function

 echo DATE( 'H: I: S') "<br />.";

//delay 10 described
usleep(10000000);

//start again
echo DATE( 'H: I: S') ;

output display:
09:23:14
09:23:24 // SLEEP () function echoDATE( 'H: I: S') "<br>.";//SLEEP for. 5 seconds TheSLEEP(. 5);/ /Start AgainechoDATE( 'H: I: S');
output display:09:23:14
09:23:19






 





 

 

Guess you like

Origin www.cnblogs.com/zc290987034/p/11302163.html