Can any body explain me what is the difference among sleep() and usleep() in PHP.
sleep()
usleep()
I have directed to use following scripts to do chat appli
usleep() is used to delay execution in "microseconds" while sleep() is used to delay execution in seconds. So usleep(25000) is 0.025 seconds.
usleep(25000)
Is there any difference between the two?