lazzard / php-ftp-client

:package: Provides helper classes and methods to manage FTP files in an OOP way.
MIT License
90 stars 18 forks source link

Upload Async method can't find $speed #42

Closed jumpingaccess closed 1 year ago

jumpingaccess commented 1 year ago

Hi, I'm testing your FTP Client and I've just something strange with AsyncUpload, php replies $speed is not define . have you a example of async upload ? thanks

jumpingaccess commented 1 year ago

Ok , Seems the call_user_func_array function gives that error with PHP 8.2.

AmraniCh commented 1 year ago

Hey, thanks for opening this issue. The library is not tested yet on PHP version 8.2 (see the 'integration tests workflow here), however, we plan to add support for It as soon as possible.

As a temporary solution, you could extend the FtpClient class and overrides the async method implementation to get rid of the errors on PHP v8.2, thank you!