php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "sleep"

What are some potential alternatives to using the sleep() function in PHP for time-delayed commands?

Using the sleep() function in PHP can cause delays in the execution of code, which may not be ideal for certain applications. One alternative to using...

How can sleep be used effectively to control the rate of requests when using multi_curl in PHP?

When using multi_curl in PHP to send multiple requests concurrently, it's important to control the rate of requests to prevent overwhelming the server...

What is the function of the sleep() method in PHP and how can it be used to delay execution?

The sleep() method in PHP is used to pause the execution of a script for a specified number of seconds. This can be useful for delaying the execution...

What potential risks are involved in using sleep() function after a header() redirect in PHP code?

Using the sleep() function after a header() redirect in PHP code can potentially cause delays in the redirection process, leading to a poor user exper...

How can the sleep() function in PHP be used effectively to control the output interval in a while loop?

To control the output interval in a while loop using the sleep() function in PHP, you can simply add the sleep() function within the loop to pause the...

Showing 16 to 20 of 227 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 45 46 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.