src/VCR/LibraryHooks/CurlHook.php
public static function curlExec($curlHandle)
    {
        $request = self::$requests[(int) $curlHandle];
        CurlHelper::validateCurlPOSTBody($request, $curlHandle);

        $requestCallback = self::$requestCallback;
        self::$responses[(int) $curlHandle] = $requestCallback($request);

        return CurlHelper::handleOutput(
            self::$responses[(int) $curlHandle],
            self::$curlOptions[(int) $curlHandle],
            $curlHandle
        );
    }
public static function curlExec($curlHandle)
    {
        $request = self::$requests[(int) $curlHandle];
        CurlHelper::validateCurlPOSTBody($request, $curlHandle);

        $requestCallback = self::$requestCallback;
        self::$responses[(int) $curlHandle] = $requestCallback($request);

        return CurlHelper::handleOutput(
            self::$responses[(int) $curlHandle],
            self::$curlOptions[(int) $curlHandle],
            $curlHandle
        );
    }
public static function curlExec ( $ curlHandle ) { $ request = self :: $ requests [ ( int ) $ curlHandle ] ; CurlHelper :: validateCurlPOSTBody ( $ request , $ curlHandle ) ; $ requestCallback = self :: $ requestCallback ; self :: $ responses [ ( int ) $ curlHandle ] = $ requestCallback ( $ request ) ; return CurlHelper :: handleOutput ( self :: $ responses [ ( int ) $ curlHandle ] , self :: $ curlOptions [ ( int ) $ curlHandle ] , $ curlHandle ) ; }
Perform a cURL session.

@link http://www.php.net/manual/en/function.curl-exec.php
@param resource $curlHandle A cURL handle returned by curl_init().

@return mixed Returns TRUE on success or FALSE on failure.
However, if the CURLOPT_RETURNTRANSFER option is set, it will return the
result on success, FALSE on failure.
Perform a cURL session .