![]() ![]() In this example I have put script to sleep for 2.487147 seconds. On Windows, this value will always be 192 (the value of the. ![]() ' ' // sleep for 10 seconds sleep(10) // wake up echo date('h:i:s'). You can use this function if you want to sleep php for smaller time values than second (float). I tried a foreach loop with php sleep function inside of it and it is not working. If the call was interrupted by a signal, sleep() returns a non-zero value. Example 1 sleep () example
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |