Skip to content

Deprecation of curl_close in php 8.5 #41

@inwoker

Description

@inwoker

curl_close($ch); on line 314 is deprecated as of php 8.5.

I would suggest:
if (PHP_VERSION_ID <= 80000) {
curl_close($ch);
}

Since php 8.0 the function does nothing. And causes error since 8.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions