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

[email protected] (Lazizbek Ergashev via GitHub) Wed, 5 Aug 2026 01:21:42 +0000
Newsgroups php.cvs
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