P粉9211300672023-08-25 09:09:50
In the PHP sleep() page, there are the following user-contributed comments:
P粉6748763852023-08-25 00:17:27
You should try this whenever you have a script that sleeps longer than the maximum execution time.
<?php sleep(ini_get('max_execution_time') + 10); ?>
Spoiler: Under Linux, sleep time is ignored, but under Windows, it counts as execution time.