curl_multi_select
(PHP 5, PHP 7, PHP 8)
curl_multi_select — Wait until reading or writing is possible for any cURL multi handle connection
Parameters
multi_handle
A cURL multi handle returned by
curl_multi_init().
timeout
-
Time, in seconds, to wait for a response from the active cURL multi handle connections.
Return Values
On success, returns the number of active 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).