PHP curl_multi_select function
PHP curl_multi_select function
(PHP 5)
curl_multi_select - wait for all cURL batch of active connections
Explanation
int curl_multi_select ( resource $mh [, float $timeout = 1.0 ] )
It curls connection block until the batch has an active connection.
parameter
mh
By the curl_multi_init () returns multiple cURL handles.
timeout
In seconds, to wait for a response.
return value
Back descriptor set the number of descriptors success. On failure, select returns -1 on failure, otherwise a timeout (from the underlying select system call).