[php-src] PHP-8.5: PHP 8.5 | UPGRADING: add missing finfo function (#23263)

Juliette via GitHub <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Juliette (jrfnl)
Committer: GitHub (web-flow)
Pusher: DanielEScherzer
Date: 2026-08-15T02:38:49-07:00

Commit: https://github.com/php/php-src/commit/ab2bf4681d902e8a5962822395f8894083c1c42b
Raw diff: https://github.com/php/php-src/commit/ab2bf4681d902e8a5962822395f8894083c1c42b.diff

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 <[email protected]>

Changed paths:
  M  UPGRADING


Diff:

diff --git a/UPGRADING b/UPGRADING
index 39400b5ea6d6..50754b279439 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:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.