public function Curl::setoptArray in reCAPTCHA 7.2
Same name and namespace in other branches
- 8.2 recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php \ReCaptcha\RequestMethod\Curl::setoptArray()
- 6.2 recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php \ReCaptcha\RequestMethod\Curl::setoptArray()
Parameters
resource $ch:
array $options:
Return value
bool
See also
http://php.net/curl_setopt_array
File
- recaptcha-php/
src/ ReCaptcha/ RequestMethod/ Curl.php, line 51
Class
- Curl
- Convenience wrapper around the cURL functions to allow mocking.
Namespace
ReCaptcha\RequestMethodCode
public function setoptArray($ch, array $options) {
return curl_setopt_array($ch, $options);
}