[wp-trac] [WordPress Trac] #55105: Introduce a polyfill for `array_is_list()`.

WordPress Trac noreply at wordpress.org
Wed Feb 9 18:23:31 UTC 2022

#55105: Introduce a polyfill for `array_is_list()`.
 Reporter:  costdev                   |       Owner:  (none)
     Type:  feature request           |      Status:  new
 Priority:  normal                    |   Milestone:  6.0
Component:  General                   |     Version:  5.9
 Severity:  minor                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:

Comment (by rafiahmedd):

 @costdev sorry if I am wrong, I think on line 500 it will be if( $k !== $i
 ) then return false.

Ticket URL: <https://core.trac.wordpress.org/ticket/55105#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list