[wp-trac] [WordPress Trac] #47397: Check if it is PHP 7.3 or not for compat function is_countable() and is_iterable()

WordPress Trac noreply at wordpress.org
Mon May 27 06:23:38 UTC 2019


#47397: Check if it is PHP 7.3 or not for compat function is_countable() and
is_iterable()
--------------------------+----------------------
 Reporter:  dkarfa        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by ocean90):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the patch but the version check is not necessary because of the
 `function_exists()` check which will only be true for PHP < 7.3.

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


More information about the wp-trac mailing list