PHP 8.x bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
1 Oct 2025

Summary of Changes

remove no longer needed curl_close()

In the migration of various extensions from resources to objects, a number of functions to close or free the resources became no-ops
curl_close() since the ext/curl migration in PHP 8.0

https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_curl_close

Testing Instructions

Install Joomla with

  • max error reporting
  • use php 8.5 (latest pre-version 8.5.0rc1)

Actual result BEFORE applying this Pull Request

deprecation message at the end (possibly further)
image

Expected result AFTER applying this Pull Request

no deprecation message about curl_close()

Link to documentations

  • No documentation changes for docs.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar heelc29 heelc29 - open - 1 Oct 2025
avatar heelc29 heelc29 - change - 1 Oct 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Oct 2025
Category Libraries
avatar wilsonge wilsonge - change - 16 Oct 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-10-16 08:34:30
Closed_By wilsonge
Labels Added: PHP 8.x bug PR-5.4-dev
avatar wilsonge wilsonge - close - 16 Oct 2025
avatar wilsonge wilsonge - merge - 16 Oct 2025
avatar wilsonge
wilsonge - comment - 16 Oct 2025

Merging on review between php docs and code review. Thanks!

Add a Comment

Login with GitHub to post a comment