As far as I can see, upload/server/php/upload.class.php currently includes three calls to the PHP function imagedestroy:
|
// Free up memory (imagedestroy does not delete files): |
|
@imagedestroy($src_img); |
|
@imagedestroy($new_img); |
|
// Free up memory (imagedestroy does not delete files): |
|
@imagedestroy($image); |
This function is deprecated since PHP 8.5, as it has no effect since PHP 8.0.
I'm raising this as an issue rather than submitting a PR, as this file looks like it might be code that's been imported from an external library, so I'm not sure how this extension's maintainers might want to go about resolving this :)
[Cross-reference https://phabricator.wikimedia.org/T413901]
As far as I can see,
upload/server/php/upload.class.phpcurrently includes three calls to the PHP functionimagedestroy:jQueryUpload/upload/server/php/upload.class.php
Lines 181 to 183 in df878d6
jQueryUpload/upload/server/php/upload.class.php
Lines 300 to 301 in df878d6
This function is deprecated since PHP 8.5, as it has no effect since PHP 8.0.
I'm raising this as an issue rather than submitting a PR, as this file looks like it might be code that's been imported from an external library, so I'm not sure how this extension's maintainers might want to go about resolving this :)
[Cross-reference https://phabricator.wikimedia.org/T413901]