[php-src] Issue #22958: php_stream_wrapper_log_error() number of args changed in PHP 8.6.0
[email protected] (Jan-E) Thu, 30 Jul 2026 22:49:36 +0000
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <WYdGKGoVq2LaalAMDIVL9AShz3gE8zW1uACWitAmHhU@main.internal.php.net> |
Issue: https://github.com/php/php-src/issues/22958 Author: Jan-E ### Description php_stream_wrapper_log_error() used to take only 3 arguments: https://github.com/php/php-src/blob/ce4adcc587cf21fbc5fca1fbc0597d44328ab0f2/main/php_streams.h#L644-L645 After the addition of the new streams errors API php_stream_wrapper_log_error was marked as > /* Legacy wrapper error log functions */ https://github.com/php/php-src/blob/f2b371e747d26351cacba99d7fd696a5844e83fb/main/streams/php_stream_errors.h#L149-L153 The number of required args changed from 3 to 7. @bukka This backwards incompatible change deserves a solution or a description in UPGRADING.INTERNALS, IMHO. ### PHP Version ```plain PHP 8.6.0 Alpha 1 ``` ### Operating System N/A