[wp-trac] [WordPress Trac] #63061: Prepare for PHP 8.5
WordPress Trac
noreply at wordpress.org
Mon Aug 25 10:19:11 UTC 2025
#63061: Prepare for PHP 8.5
----------------------------+--------------------------------
Reporter: johnbillion | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: php85 | Focuses: php-compatibility
----------------------------+--------------------------------
Comment (by TobiasBg):
PHP 8.5 deprecates non-canonical scalar type casts
(boolean|double|integer|binary) deprecated.
In the Core codebase, I found these in 3 separate files, all from external
libraries.
For the getID3 library, I created a PR
[https://github.com/JamesHeinrich/getID3/pull/469 upstream].
Two more occurrences are in the IXR and JSON libraries, which are
unmaintained and therefore can be updated directly in Core, for which I
created this PR:
https://github.com/WordPress/wordpress-develop/pull/9592
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63061#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list