stream: remove path parameter in stream error functions#22792
Conversation
Instead rely on the mechanism gated by the error_include_args INI to display them
|
I think the (FWIW as background: When I originally implemented |
I will send an email to internals to hopefully get rid of the |
|
I just went through that RFC as I wasn't actually aware of it and agree that that the path can be dropped and if docref does not have any purpose then param and docref could be dropped too including the tweak but leave that to the different PR - this is aready way too big. It would be also good to extend the test with error_include_args=On and have there some stream functions to assert that this is all fine and params are there. Btw that OPCACHE_VARIATION failing on mkdir - probably unrelated but worth double checking. |
I have a few tests that use the INI setting and everything works as intended.
I'll double check. |
Instead rely on the mechanism gated by the error_include_args INI to display them.
Kinda realising that because https://wiki.php.net/rfc/display_error_function_args and https://wiki.php.net/rfc/stream_errors were voted in parrallel some of the interactions weren't really thought out.