Skip to content

chore: Remove unnecessary curl_close call#175

Open
informeronline wants to merge 1 commit into
sendgrid:mainfrom
informeronline:patch-1
Open

chore: Remove unnecessary curl_close call#175
informeronline wants to merge 1 commit into
sendgrid:mainfrom
informeronline:patch-1

Conversation

@informeronline

Copy link
Copy Markdown

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

Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0
@informeronline informeronline changed the title Remove unnecessary curl_close call chore: Remove unnecessary curl_close call Jan 12, 2026
@peter279k

Copy link
Copy Markdown
Contributor

I think the current solution is available here.

I also think it should use the unset after doing the cURL function has been done.

@slipszenko

slipszenko commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

I've added a PR that handles it that way: #176

@kamil-zacek kamil-zacek left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change must check PHP version. Not all usage of this library is at PHP 8.5. Backward compatibility needed.

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.

4 participants