Skip to content

Fix curl_close - #72

Merged
nguyenanhung merged 1 commit into
masterfrom
v3.2.0-develop
May 16, 2026
Merged

Fix curl_close#72
nguyenanhung merged 1 commit into
masterfrom
v3.2.0-develop

Conversation

@nguyenanhung

Copy link
Copy Markdown
Owner

While running the SDK on PHP 8.5 I’m seeing a deprecation warning originating from curl_close():

Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0

This triggers every time the SDK makes a request.

From PHP 8.0 onward, cURL handles are automatically closed when they fall out of scope, and curl_close() no longer does anything. As of PHP 8.5 the function is formally deprecated.

@nguyenanhung
nguyenanhung requested a review from hungnguyenhp May 16, 2026 17:40
@nguyenanhung
nguyenanhung merged commit 99a9e89 into master May 16, 2026
40 of 60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants