[wp-trac] [WordPress Trac] #63853: Add PHP 8.5 compat array functions: `array_first` and `array_last`

WordPress Trac noreply at wordpress.org
Mon Nov 17 21:44:21 UTC 2025


#63853: Add PHP 8.5 compat array functions: `array_first` and `array_last`
-------------------------------------------------+-------------------------
 Reporter:  TobiasBg                             |       Owner:  jorbin
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  php85 has-patch has-unit-tests       |     Focuses:  php-
  commit has-dev-note                            |  compatibility
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * keywords:  php85 has-patch has-unit-tests commit => php85 has-patch has-
     unit-tests commit has-dev-note


Comment:

 These new polyfill functions were detailed in the miscellaneous dev note
 for developer-focused changed: https://make.wordpress.org/core/2025/11/17
 /miscellaneous-developer-focused-changes-in-6-9/

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


More information about the wp-trac mailing list