From 48efd928d5cb7b7bce2904492299439f6b45635b Mon Sep 17 00:00:00 2001 From: lazerg Date: Wed, 5 Aug 2026 05:51:33 +0500 Subject: [PATCH] [skip ci] Add UPGRADING.INTERNALS entry for php_stream_wrapper_log_error --- UPGRADING.INTERNALS | 7 +++++++ 1 file changed, 7 insertions(+) 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