[wp-trac] [WordPress Trac] #54377: Introduce new PHP cross-version compatibility functions, `str_ends_with()`

WordPress Trac noreply at wordpress.org
Thu Nov 4 23:54:10 UTC 2021


#54377: Introduce new PHP cross-version compatibility functions, `str_ends_with()`
-----------------------------------------------+---------------------------
 Reporter:  pbiron                             |       Owner:
                                               |  hellofromTonya
     Type:  feature request                    |      Status:  accepted
 Priority:  normal                             |   Milestone:  5.9
Component:  General                            |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  needs-patch needs-unit-tests php8  |     Focuses:
-----------------------------------------------+---------------------------

Comment (by pbiron):

 Thanx @pbearne! (hi, by the way :-)

 I was just coming to add a comment that I will also include a polyfill for
 `str_starts_with()` as well.

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


More information about the wp-trac mailing list