Commit ab2bf4681d9 for php.net
commit ab2bf4681d902e8a5962822395f8894083c1c42b
Author: Juliette <663378+jrfnl@users.noreply.github.com>
Date: Sat Aug 15 11:38:49 2026 +0200
PHP 8.5 | UPGRADING: add missing finfo function (#23263)
The entry about the new function parameter for finfo, is missing the OO method.
See: https://github.com/php/php-src/commit/ba21ab4ea012f35091694b8b03a79dcab1de6742
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
diff --git a/UPGRADING b/UPGRADING
index 39400b5ea6d..50754b27943 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -433,8 +433,8 @@ PHP 8.5 UPGRADE NOTES
. The finfo_close() function has been deprecated.
As finfo objects are freed automatically.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_finfo_close
- . The $context parameter of the finfo_buffer() function has been deprecated
- as it is ignored.
+ . The $context parameter of the finfo_buffer() and finfo::buffer() functions
+ has been deprecated as it is ignored.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_context_parameter_for_finfo_buffer
- GD: