-
Notifications
You must be signed in to change notification settings - Fork 0
CurlMultiHandler :: getError()
Brian Boll edited this page Apr 23, 2018
·
3 revisions
//Construct the multi handler object
$mch = new CurlMultiHandler();
//Construct various handles to be handled by the multi handler object
$ch1 = new CurlHandler('this_is_not_a_valid_URL');
$ch2 = new CurlHandler('this_is_not_a_valid_URL');
//Add the handles
$mch->addHandle($ch1);
$mch->addHandle($ch2);
$mch->execute();
var_dump($mch->getError());No parameters
An array of the human readable errors detailed here