WebSafe 3.7github.com
|
|
🏠
Skip to content

Only call curl_close() on PHP < 8#4125

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

Only call curl_close() on PHP < 8#4125
antonmedv merged 2 commits intodeployphp:masterfrom
jamieburchell:fix-curl-close-php8

Conversation

@jamieburchell
Copy link
Contributor

@jamieburchell jamieburchell commented Oct 23, 2025

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

2 participants

Comments