You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
Hey, I have some custom curl parameters:
$ch = curl_init("http://google.com");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT_MS , 1); //timeout in seconds
$google = $mc->addCurl($ch);
$e_code = curl_multi_info_read($google);
var_dump($e_code);
Do you guys know of any way to check that the network call timed out?
I tried using the function curl_multi_info_read, but it returns "expects parameter 1 to be resource, object given"
Thanks.