PHP.nl

curl_multi_select

curl_multi_select

Wait until reading or writing is possible for any cURL multi handle connection

int **curl_multi_select** CurlMultiHandle $multi_handle float $timeout

Blocks the execution of the script until a cURL handle attached to the cURL multi handle would be able to make progress on the next call to or until the timeout strikes (whichever comes first). curl_multi_exec

timeoutTime, in seconds, to wait for a response from the active cURL multi handle connections.

On success, returns the number of active descriptors contained in the descriptor sets. This may be if there was no activity on any of the descriptors. On failure, this function will return on a select failure (from the underlying system call). 0``-1``select()

Throws a if is less than or greater than . timeout``0``PHP_INT_MAX

curl_multi_init