(PHP 5, PHP 7)
Wait for activity on any curl_multi connection
int curl_multi_select ( resource $mh [, float $timeout = 1.0 ] )
Blocks until there is activity on any of the curl_multi connections.
Parameters:
mh
A cURL multi handle returned by curl_multi_init().
timeout
Time, in seconds, to wait for a response.
Returns