[wp-trac] [WordPress Trac] #63957: PHP 8.5: Using `null` as array offsets

WordPress Trac noreply at wordpress.org
Mon Oct 6 11:29:31 UTC 2025


#63957: PHP 8.5: Using `null` as array offsets
-------------------------------------------+-------------------------------
 Reporter:  swissspidy                     |       Owner:  swissspidy
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  6.9
Component:  General                        |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  php85 has-patch needs-testing  |     Focuses:  php-
                                           |  compatibility
-------------------------------------------+-------------------------------
Changes (by swissspidy):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60904" 60904]:
 {{{
 #!CommitTicketReference repository="" revision="60904"
 Code Modernization: Fix instances of using `null` as an array offset.

 Addresses a new
 [https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists
 deprecation in PHP 8.5] in several block-related registry classes.

 Follow-up to [60809].

 Props mukesh27, swissspidy.
 Fixes #63957.
 }}}

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


More information about the wp-trac mailing list