Logo

Misc. Functions

connection_aborted connection_status constant define defined get_browser highlight_file highlight_string hrtime ignore_user_abort pack php_strip_whitespace show_source sleep sys_getloadavg time_nanosleep time_sleep_until uniqid unpack usleep

sleep

Logo thephpleague/flysystem thephpleague/flysystem
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Delay execution
<?php sleep(int $seconds): int
<?php                     throw $exception;

                }

                fwrite(STDOUT, 'Retrying ...' . PHP_EOL);

                sleep($this->timeoutForExceptionRetry);

            }

        }
src/AdapterTestUtilities/RetryOnTestException.php