Re: [PHP-DEV] RFC: StreamWrapper Support for glob()

2022-10-02 Thread Timmy Almroth
> > I had a quick look to that PoC and it's basically just a quick wrapper > that depends on GLOB_ALTDIRFUNC. Unfortunately that's a non standard > extension that might be missing on some platform (e.g. alpine won't > probably work because from a quick look the musl libc doesn't seeem to > implemen

Re: [PHP-DEV] RFC: StreamWrapper Support for glob()

2022-09-19 Thread Timmy Almroth
> I was using "we" in a more collective sense to mean "us as a project when > writing any RFC". The mechanics of wiring in a method in a wrapper to be > called as a proxy from a global function isn't hard. What's hard in this > case is defining what is expected from that function, specifically wh

Re: [PHP-DEV] RFC: StreamWrapper Support for glob()

2022-09-18 Thread Timmy Almroth
Hi @Dan, hi @Sara. Thanks for giving us your feedback on this. > I think that although the RFC discussion can go ahead without a patch, > it would be better to have a patch before it went to vote, as there > seem to be quite a few hidden details that might not be able to be > made to work. I want

[PHP-DEV] RFC: StreamWrapper Support for glob()

2022-09-14 Thread Timmy Almroth
Hello everyone. I would like to announce that the RFC for "StreamWrapper Support for glob()" is now ready for Discussion. RFC https://wiki.php.net/rfc/glob_streamwrapper_support Feature Request and Discussions https://github.com/php/php-src/issues/9224 Regards, Tim

[PHP-DEV] StreamWrapper support for glob()

2022-08-14 Thread Timmy Almroth
Hi! I'm Tim and I am a web developer and PHP programmer since 20 years back, living in Sweden. Regarding feature request #9224 StreamWrapper support for glob() , I would love to hear everyone's thoughts on this. With good feedback and if anyone would gra