[wp-trac] [WordPress Trac] #63061: Prepare for PHP 8.5

WordPress Trac noreply at wordpress.org
Tue Aug 26 21:30:05 UTC 2025


#63061: Prepare for PHP 8.5
-----------------------------+--------------------------------
 Reporter:  johnbillion      |       Owner:  (none)
     Type:  task (blessed)   |      Status:  new
 Priority:  normal           |   Milestone:  6.9
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  php85 has-patch  |     Focuses:  php-compatibility
-----------------------------+--------------------------------

Comment (by jorbin):

 In [changeset:"60672" 60672]:
 {{{
 #!CommitTicketReference repository="" revision="60672"
 General: Add polyfills for new PHP 8.5 array functions: `array_first` and
 `array_last`.

 This power couple of function is coming in PHP 8.5: array_first and
 array_last.

 For more information on these functions, check out the PHP RFC at
 https://wiki.php.net/rfc/array_first_last.

 Props tusharbharti, jorbin, peterwilsoncc, mukesh27, johnbillion.
 Fixes #63853. See #63061.
 }}}

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


More information about the wp-trac mailing list