[serendipity-cvs] [s9y/Serendipity] 690af9: Replace (int) parser conversion with spl_object_hash
onli via php-blog-cvs <[email protected]>
| Newsgroups | gmane.comp.serendipity.cvs |
|---|---|
| Message-ID | <s9y/Serendipity/push/refs/heads/feature/PHP8RPCfix/[email protected]> |
Branch: refs/heads/feature/PHP8RPCfix
Home: https://github.com/s9y/Serendipity
Commit: 690af96c64882895434b0b8688e3a7369a3d3d53
https://github.com/s9y/Serendipity/commit/690af96c64882895434b0b8688e3a7369a3d3d53
Author: onli <[email protected]>
Date: 2025-02-23 (Sun, 23 Feb 2025)
Changed paths:
M bundled-libs/XML/RPC.php
Log Message:
-----------
Replace (int) parser conversion with spl_object_hash
The (int) conversion does not work anymore since PHP 8 changed the xml parser from being a resource to being an object. Hardcoding it to a number, the initial fix, destroys the logic of having multiple parsers available and was not done everywhere. The object hash approach should be a valid replacement.
To unsubscribe from these emails, change your notification settings at https://github.com/s9y/Serendipity/settings/notifications