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

WordPress Trac noreply at wordpress.org
Mon Nov 10 17:46:00 UTC 2025


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

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


Comment:

 It seems that 8.5 RC4 fixes a bug that prevented instances where a `null`
 offset is used from being flagged as deprecated. As a result, the test
 suite is currently failing for single site jobs using PHP 8.5.

 - [https://github.com/php/php-src/pull/20238 Upstream issue]
 - [https://github.com/php/php-src/pull/20238 Upstream PR]

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


More information about the wp-trac mailing list