From 373ed5eb58867c768092a75d73774e1b305beebf Mon Sep 17 00:00:00 2001 From: mark burdett Date: Tue, 7 Nov 2023 11:58:30 -0800 Subject: [PATCH] Search for curl_init() only in root namespace --- src/HttpClient/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpClient/HttpClient.php b/src/HttpClient/HttpClient.php index 96a3dd01a..9f0b9fcea 100644 --- a/src/HttpClient/HttpClient.php +++ b/src/HttpClient/HttpClient.php @@ -40,7 +40,7 @@ public function sendRequest(Request $request, Options $options): Response throw new \RuntimeException('The request data is empty.'); } - $curlHandle = curl_init(); + $curlHandle = \curl_init(); $requestHeaders = Http::getRequestHeaders($dsn, $this->sdkIdentifier, $this->sdkVersion);