Skip to content

Only call curl_close() on PHP < 8 - #4125

Merged
antonmedv merged 2 commits into
deployphp:masterfrom
jamieburchell:fix-curl-close-php8
Oct 23, 2025
Merged

antonmedv merged 2 commits into
deployphp:masterfrom
jamieburchell:fix-curl-close-php8

Conversation

@jamieburchell

@jamieburchell jamieburchell commented Oct 23, 2025 •

Copy link
Copy Markdown
Contributor

curl_close() has had no effect since PHP 8.0 and is deprecated in PHP 8.5. This patch ensures that it is only called in PHP < 8. Note a separate commit for Httpie as this may want to be handled by upgrading the library.

@antonmedv
antonmedv merged commit 322edde into deployphp:master Oct 23, 2025
6 checks passed
@jamieburchell
jamieburchell deleted the fix-curl-close-php8 branch October 23, 2025 09:37
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