[wp-trac] [WordPress Trac] #62558: Add PHP 8.4 compat array functions: `array_find`, `array_find_key`, `array_any` and `array_all`

WordPress Trac noreply at wordpress.org
Sat Feb 8 10:42:19 UTC 2025


#62558: Add PHP 8.4 compat array functions: `array_find`, `array_find_key`,
`array_any` and `array_all`
-------------------------------------------------+-------------------------
 Reporter:  Soean                                |       Owner:  desrosj
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch php84 add-to-field-guide   |     Focuses:  php-
  commit                                         |  compatibility
-------------------------------------------------+-------------------------

Comment (by Mamaduka):

 Reasoning makes sense. I use JS versions of these new methods daily, which
 are very handy.

 I think we'll see more usage in the core now that polyfills have been
 merged.

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


More information about the wp-trac mailing list