[wp-trac] [WordPress Trac] #43583: Introduce new PHP cross-version compat function `is_countable()`

WordPress Trac noreply at wordpress.org
Sun May 6 09:48:43 UTC 2018


#43583: Introduce new PHP cross-version compat function `is_countable()`
-------------------------------------------------+-------------------------
 Reporter:  jrf                                  |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  4.9.6
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note needs-refresh                             |
-------------------------------------------------+-------------------------
Changes (by ayeshrajans):

 * Attachment "43583-improvements2.patch" added.

 Thanks for the suggestions. Appreciate if you could review the updated
 one. Please note that if `xml` or `intl` extensions are not loaded, this
 test will issue a warning. Ideally, this test should split for these edge
 cases and skip the test in PHPUnit if the classes are not available.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43583>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list