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

WordPress Trac noreply at wordpress.org
Fri Sep 11 17:58:15 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 desrosj):

 @jrf My thinking here (and with a few other tickets marked `needs-dev-
 note` related to PHP 8) is not to necessarily call out this specific
 change in Core, but rather note that it is something developers need to be
 aware of in their projects for PHP 8 support.

 There were several items in the
 [https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/ PHP 7.4
 note] that were similar to this ticket. Using the keyword to remember to
 at least mention this item in the PHP 8 note.

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


More information about the wp-trac mailing list