Hi,

On Wed, Nov 19, 2025 at 5:35 PM Larry Garfield <[email protected]>
wrote:

> On Tue, Nov 18, 2025, at 12:38 PM, Jakub Zelenka wrote:
> > Hello,
> >
> > I would like to introduce a new stream error handling RFC that is part
> > of my stream evolution work (PHP Foundation project funded by Sovereign
> > Tech Fund) :
> >
> > https://wiki.php.net/rfc/stream_errors
> >
> > Kind regards,
> >
> > Jakub
>
> HI Jakub.
>
> I agree with what others have said so far.  I'm going to ask a little bit
> further, though.
>
> AIUI, there's two main issues with the stream API:
>
> 1. It's very inconsistent.
> 2. It's very clunky, non-obvious, and hard to use if you don't know
> exactly what you're doing.
>
> This RFC seems to be addressing the first point, which is fine.  However,
> should we be trying to smooth out the current unpleasant API, or should the
> effort be put toward a more intuitive API that is smoother from the start?
> This RFC could be a stepping stone toward that, I'm not sure, but if so
> that's not clear to me.
>
> Are there any longer term plans here for a more complete stream overhaul?
>
>
This RFC is part of the bigger effort to address various stream issues and
provide other stream related improvements that I selected based on my TODO
list. You can see more detailed description of the whole scope in this
foundation blog:
https://thephp.foundation/blog/2025/10/30/php-streams-evolution/ .

The overhaul of the whole API is out of scope as there are lots of unknowns
and would require longer migration. It is thus harder to deliver in the
selected time frame. It doesn't mean that it won't happen. It's just out of
scope for this block of work and I don't have specific plans for it.

Kind regards,

Jakub

Reply via email to