Is there a way I can be notified when a curl request completes? I'd like to start another request upon completion
$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'https://api.twitter.com/1/users/lookup.json?user_id='.$uids.'&include_entities=true');
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($curl_handle);
curl_close($curl_handle);
curl_execfunction call will stall your script execution until that very request is finished.