[wp-trac] [WordPress Trac] #59231: Prepare for PHP 8.3

WordPress Trac noreply at wordpress.org
Tue Mar 11 12:39:39 UTC 2025


#59231: Prepare for PHP 8.3
--------------------------------------------+------------------------------
 Reporter:  jrf                             |       Owner:  johnbillion
     Type:  task (blessed)                  |      Status:  closed
 Priority:  normal                          |   Milestone:  6.7
Component:  General                         |     Version:  6.4
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  php83 has-patch has-unit-tests  |     Focuses:  php-
                                            |  compatibility
--------------------------------------------+------------------------------
Changes (by johnbillion):

 * status:  accepted => closed
 * resolution:   => fixed
 * milestone:  6.8 => 6.7


Comment:

 Ok time to close this off. All issues in this ticket were addressed
 between 6.4 and 6.7, with the exception of some enhancements that are not
 directly related to compatibility.

 * Deprecation of calling `get_class()` and `get_parent_class()` with no
 parameter was fixed in r56495 for 6.4.
 * Correction to the usage of `ReflectionProperty::setValue()` was fixed in
 r56492 for 6.4.
 * The new `#[Override]` attribute doesn't relate to compatibility. #59232
 proposes its introduction.
 * Changes to error handling in `unserialize()` doesn't affect core,
 however there are improvements that can be made. See #59233.
 * Introduction of the new `json_validate()` function is being proposed in
 #59234, however this looks like it will be a wontfix as using it prior to
 a call to `json_decode()` is redundant. This does not affect
 compatibility.
 * All external dependencies listed in the description have been updated to
 their latest versions and the linked tickets fixed between 6.4 and 6.7.
 All now support at least PHP 8.3.
   * #56692
   * #57873
   * #58079
   * #55604
   * #58224

 This completes the task list for PHP 8.3. Thanks everyone!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59231#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list