-
Notifications
You must be signed in to change notification settings - Fork 63
PHP8.5 support #674
Description
See:
https://github.com/php/php-src/blob/php-8.5.0RC2/NEWS
https://wiki.php.net/rfc/deprecations_php_8_5
https://php.watch/versions/8.5
https://www.php.net/index.php#2025-10-09-2
-
The
finfo_close()function has been deprecated.
[20-Nov-2025 22:30:06 UTC] PHP Deprecated: Function finfo_close() is deprecated since 8.5, as finfo objects are freed automatically in admin\panels\uploader\admin.uploader.php on line 260
if ($finfo) { @finfo_close($finfo); } -
The
imagedestroy()function has been deprecated.
[20-Nov-2025 22:22:59 UTC] PHP Deprecated: Function imagedestroy() is deprecated since 8.5, as it has no effect since PHP 8.0 in admin\panels\uploader\admin.uploader.php on line 352
imagedestroy($image);
flatpress/admin/panels/uploader/admin.uploader.thumb.php
Lines 95 to 96 in b0349f6
imagedestroy($scaled); imagedestroy($image);
./fp-plugins/captcha/antispam.php:@imagedestroy($image);
- The
curl_close()function has been deprecated.
[20-Nov-2025 22:10:54 UTC] PHP Deprecated: Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in fp-includes\core\core.utils.php on line 630
| curl_close($handle); |
flatpress/fp-includes/core/core.utils.php
Line 630 in b0349f6
| curl_close($ch); |