CURL_MULTI_SELECT(3) 1 CURL_MULTI_SELECT(3)
curl_multi_select - Wait for activity on any curl_multi connection
SYNOPSIS
int curl_multi_select (resource $mh, [float $timeout = 1.0])
DESCRIPTION
Blocks until there is activity on any of the curl_multi connections.
PARAMETERS
o $mh
-A cURL multi handle returned by curl_multi_init(3).
o $timeout
- Time, in seconds, to wait for a response.
RETURN VALUES
On success, returns the number of descriptors contained in the descriptor sets. This may be 0 if there was no activity on any of the
descriptors. On failure, this function will return -1 on a select failure (from the underlying select system call).
SEE ALSO
curl_multi_init(3).
PHP Documentation Group CURL_MULTI_SELECT(3)