Skip to content

PHP 8.5 deprecation notice #132

@PGMMattias

Description

@PGMMattias

curl_close() is deprecated in PHP 8.5, which means that calling this function will throw a notice.

According to the PHP documentation, this function does nothing since PHP 8.0. I see that other packages that aim to support PHP versions prior to 8.0 use something like the below, which should avoid causing the notice:

if (PHP_VERSION_ID < 80000) {
            curl_close($resource);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions