[wp-trac] [WordPress Trac] #51057: [PHP 8] PemFTP - Fix is_resource() calls on Socket class objects

WordPress Trac noreply at wordpress.org
Thu Sep 10 10:58:25 UTC 2020


#51057: [PHP 8] PemFTP - Fix is_resource() calls on Socket class objects
--------------------------------+-----------------------------
 Reporter:  ayeshrajans         |       Owner:  SergeyBiryukov
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  5.6
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:  worksforme
 Keywords:  php8 close          |     Focuses:
--------------------------------+-----------------------------
Changes (by ayeshrajans):

 * keywords:  php8 => php8 close
 * status:  reviewing => closed
 * resolution:   => worksforme


Comment:

 Thanks for your review @SergeyBiryukov - It indeed turns out that
 is_resource() is called on file resources only (which will be moved to
 objects eventually, but nothing to worry for now).

 Sorry for wasting your time, and I appreciate your review either way 👍🏼.

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


More information about the wp-trac mailing list