How to execute a function in php after a specific amount of time?

  • 0

How to call a function in PHP after 5 seconds in php ?

sleep(timeinsecond); is used to make a delay in php.

sleep(5); 5 second delay .

Then we can call any function in php

How to call a function in PHP after 5 seconds in php ? sleep(timeinsecond); is used to make a delay in php. sleep(5); 5 second delay . Then we can call any function in php

How to call a function in PHP after 5 seconds in php ? sleep(timeinsecond); is used to make a delay in php. sleep(5); 5 second delay . Then we can call any function in php