[wp-trac] [WordPress Trac] #33432: PemFTP uses the ereg extension, which PHP7 removed

WordPress Trac noreply at wordpress.org
Wed Aug 19 12:51:48 UTC 2015

#33432: PemFTP uses the ereg extension, which PHP7 removed
 Reporter:  dd32            |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  4.4
Component:  Filesystem API  |    Version:
 Severity:  normal          |   Keywords:  needs-patch
  Focuses:                  |
 We include PemFTP which is a pure-php implementation of FTP for usage when
 the PHP FTP Extension is unavailable.

 We should convert PemFTP from using the ereg set of functions, to using
 PCRE (preg_*), for both PHP7 compatibility and to remove the PHP
 Deprecated notices in PHP 5.3+.

 It looks like the work done in the below GitHub repo is what's needed:

 I believe the PemFTP library is unmaintained upstream, and we already have
 a number of customisations.

Ticket URL: <https://core.trac.wordpress.org/ticket/33432>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list