[wp-trac] [WordPress Trac] #50899: PHP 8.0: change `create_function()` to closure

WordPress Trac noreply at wordpress.org
Thu Sep 10 23:56:38 UTC 2020


#50899: PHP 8.0: change `create_function()` to closure
-------------------------------------------------+-------------------------
 Reporter:  jrf                                  |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.6
Component:  Build/Test Tools                     |     Version:
 Severity:  trivial                              |  Resolution:  fixed
 Keywords:  has-patch php8 has-unit-tests        |     Focuses:  coding-
  needs-dev-note                                 |  standards
-------------------------------------------------+-------------------------

Comment (by jrf):

 @desrosj Not sure this actually needs to be mentioned as it is a WP Core
 dev only change to part of the unit tests suite. There is nothing about
 this which would impact userland code.

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


More information about the wp-trac mailing list