[wp-trac] [WordPress Trac] #57345: Bump the minimum required PHP version to 7.2 (was: Bump the minimum required PHP version to 7.0)

WordPress Trac noreply at wordpress.org
Thu May 18 15:35:59 UTC 2023


#57345: Bump the minimum required PHP version to 7.2
--------------------------------------------------+---------------------
 Reporter:  SergeyBiryukov                        |       Owner:  (none)
     Type:  task (blessed)                        |      Status:  new
 Priority:  normal                                |   Milestone:  6.3
Component:  General                               |     Version:
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-opinion  |     Focuses:
--------------------------------------------------+---------------------
Changes (by samiamnot):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests 2nd-
               opinion


Comment:

 I am trying to understand the way WP considers things. The calculations
 for the minimum supported PHP version currently completely ignore versions
 no longer supported (such as PHP < 5.6). If we remove PHP 5.6 support in
 WP 6.3, that immediately paves the way to remove PHP 7.0 and 7.1 in WP 6.4
 since those two versions already account for less than 5% (even currently
 and will certainly be lower down the road). By the time WP 6.5 is a few
 months from being ready, there is a good chance that PHP 7.2 that is now
 6.26% will be < 5%. That basically is guaranteeing the following
 timelines:
 * WP 6.3 will drop PHP 5.6
 * WP 6.4 will drop PHP 7.0 and 7.1
 * WP 6.5 will drop PHP 7.4

  I am happy enough to go this rout, but it is funny math to me.

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


More information about the wp-trac mailing list