public function Curl::init in reCAPTCHA 6.2
Same name and namespace in other branches
- 8.2 recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php \ReCaptcha\RequestMethod\Curl::init()
- 7.2 recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php \ReCaptcha\RequestMethod\Curl::init()
Parameters
string $url:
Return value
resource cURL handle
See also
File
- recaptcha-php/
src/ ReCaptcha/ RequestMethod/ Curl.php, line 40
Class
- Curl
- Convenience wrapper around the cURL functions to allow mocking.
Namespace
ReCaptcha\RequestMethodCode
public function init($url = null) {
return curl_init($url);
}