Closed gthedev closed 7 years ago
This was fixed last year in https://github.com/Gargron/fileupload/pull/33 .. What version of fileupload are you using ?
I would be interested in helping out if there are still issues
You are using an older version (the code you posted differs from what is here https://github.com/Gargron/fileupload/blob/master/src/FileUpload/FileUpload.php#L521-L538).. Please upgrade
After pulling master for a fix I have noticed it is different, and is in fact fixed. My apologies, I have not realised someone fixed the version to 1.1.1 in the composer file. After upgrading issue was fixed and therefore this is closed. Thank you!
When using this library on PHP 7.1 an exception is thrown:
A non well formed numeric value encountered
It is thrown from
FileUpload::getConfigBytes
method:My set up that triggers this error (in a Laravel 5.2 app):
Backtrace: