Re: Why there is no StreamWrapper interface ?
| From: | Benjamin Morel | Date: | Thu, 12 Nov 2020 21:25:25 +0000 |
| Subject: | Re: Why there is no StreamWrapper interface ? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112243@lists.php.net to get a copy of this message | ||
On Thu, 12 Nov 2020 at 19:28, Sara Golemon <pollita@php.net> wrote:
> Honestly, I kind of regard the state of PHP's filesystem libraries to be
> one big hot mess. I'd really much rather redesign them from the ground up
> with some BC shims to avoid breaking the world, but I lack the drive to
> make that happen at the moment.
>
> -Sara
>
There have been some attempts (including mine) to design a better
abstraction on top of current PHP filesystem functions, which would be a
good start, but I think what's missing the most currently is a good API to
get inspiration from.
Is there a filesystem library in another language that is considered
state-of-the-art at the moment?
— Benjamin