[php-src] master: [skip ci] Add UPGRADING.INTERNALS entry for php_stream_wrapper_log_error (#23053)

Lazizbek Ergashev via GitHub <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Lazizbek Ergashev (lazerg)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2026-08-05T02:21:39+01:00

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

[skip ci] Add UPGRADING.INTERNALS entry for php_stream_wrapper_log_error (#23053)

Changed paths:
  M  UPGRADING.INTERNALS


Diff:

diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 4cded9eabfd3..dcc21206d89f 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -166,6 +166,13 @@ PHP 8.6 INTERNALS UPGRADE NOTES
   . Extended php_stream_filter_ops with seek method.
   . zend_argument_error_variadic() now takes a new 'function' parameter.
   . The param argument in the php_verror() function has been removed.
+  . The php_stream_wrapper_log_error() signature changed from
+    (wrapper, options, fmt, ...) to
+    (wrapper, context, options, severity, terminating, code, fmt, ...).
+    To keep the previous behaviour pass NULL for the context, or the context at
+    hand if there is one, E_WARNING for the severity, and
+    ZEND_ENUM_StreamErrorCode_Generic for the code. terminating should be true
+    only if the error aborts the operation.
 
 - Added:
   . New zend_class_entry.ce_flags2 and zend_function.fn_flags2 fields were
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.