PHP Manual: curl_multi_exec
curl_multi_exec
Description
int curl_multi_exec ( resource mh, int &still_running )Processes each of the handles in the stack. This method can be called whether or not a handle needs to read or write data.
Parameters
mhA cURL multi handle returned by curl_multi_init().
still_runningA reference to a flag to tell whether the operations are still running.
Return Values
A cURL code defined in the cURL Predefined Constants.
Note: This only returns errors regarding the whole multi stack. There might still have occurred problems on individual transfers even when this function returns CURLM_OK.
Examples