Skip to content

Only call 'curl_close' when PHP's version is lower then 8.0, this fix…#33

Open
hostep wants to merge 1 commit into
dpdconnect:masterfrom
baldwin-agency:fixes-for-php85
Open

Only call 'curl_close' when PHP's version is lower then 8.0, this fix…#33
hostep wants to merge 1 commit into
dpdconnect:masterfrom
baldwin-agency:fixes-for-php85

Conversation

@hostep

@hostep hostep commented Jun 8, 2026

Copy link
Copy Markdown

…es a deprecation warning on PHP 8.5

Calling curl_close is deprecated since PHP 8.5, I've wrapped it to check the PHP runtime version to call it only when PHP's version is lower then 8.0 because it didn't do anything since PHP 8.0. Your module supports PHP 5.6 and higher, so we can't fully remove this line yet.

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.

1 participant