User tests: Successful: Unsuccessful:
Pull Request resolves #48494 .
Replaces the deprecated spl_object_hash() function with spl_object_id() in PluginHelper.
spl_object_hash() was deprecated in PHP 8.6 and generates a deprecation warning when Joomla loads plugins. Both occurrences in PluginHelper have been updated to use spl_object_id() instead.
spl_object_id() provides the object identifier required by the existing caching logic without triggering the PHP 8.6 deprecation warning.
https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_spl_object_hash
code review
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration Language & Strings Libraries |