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 xml_parser_free()

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

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

Testing Instructions

Check for Joomla Updates in backend

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

Actual result BEFORE applying this Pull Request

deprecation message (possibly further)
image

Expected result AFTER applying this Pull Request

no deprecation message about xml_parser_free()

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
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 - change - 16 Oct 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-10-16 08:23:28
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 16 Oct 2025

Merged on review based on php docs and the currently failing 8.5 unit tests.

Add a Comment

Login with GitHub to post a comment