[wp-trac] [WordPress Trac] #62061: Prepare for PHP 8.4
WordPress Trac
noreply at wordpress.org
Tue Mar 11 21:58:25 UTC 2025
#62061: Prepare for PHP 8.4
--------------------------------------------+------------------------------
Reporter: jrf | Owner: johnbillion
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 6.8
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: php84 has-patch has-unit-tests | Focuses: php-
| compatibility
--------------------------------------------+------------------------------
Changes (by johnbillion):
* status: accepted => closed
* resolution: => fixed
Comment:
Fantastic work on all the fixes that were committed as part of this
ticket.
I've assessed this ticket similarly to #59231 and it looks like everything
that needed to be addressed for compatibility with PHP 8.4 has been
addressed between WordPress 6.6 and 6.8.
* Deprecation of implicitly nullable parameter types was fixed in r58009
for 6.6 and r59052 and r59053 for 6.7.
* String method name parameters in the `xml_set_*()` functions was fixed
in the following commits for 6.7: r59055, r59056, r59062, and r59063.
* Deprecation of passing E_USER_ERROR to `trigger_error()` was fixed in
the following commits for 6.7: r59106, r59107, r59108, and r59109.
* Deprecation of `mysqli_ping()` was fixed in r59069 for 6.7.
* Deprecation of `E_STRICT` was fixed in r59068 for 6.7.
* Polyfills for `array_find()`, `array_find_key()`, `array_any()`, and
`array_all()` were introduced in r59783 for 6.8.
* External dependencies listed in the description are at their latest
versions as of 6.7 and all now support PHP 8.4.
* No compatibility related tickets remain in
[https://core.trac.wordpress.org/query?status=!closed&keywords=~php84 the
php84 keyword].
All other items detailed in the ticket summary are either not related to
compatibility or do not affect WordPress core or its dependencies.
This completes the task list for PHP 8.4 compatibility. Thanks everyone
for your great work!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62061#comment:78>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list