RE : suggestion SplFileInfo
| From: | P) | Date: | Mon, 05 Mar 2007 12:03:58 +0000 |
| Subject: | RE : suggestion SplFileInfo | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28238@lists.php.net to get a copy of this message | ||
> From: Pierre [mailto:pierre.php@gmail.com]
>
> It is not about taste. A glob is not a URI-like data. It is a
> filter. I hope you understand my point now (for better glob
> support but no glob://), let see what the other developers
> think about that.
I agree. PHP glob() needs to be rewritten to call a glob() hook in stream wrappers. And only the
'plain file' wrapper would then call the OS native glob(). Other stream wrappers like
zip:, phar:, or phk: would provide their own implementations (provided they can use a reliable
fnmatch()).
> I will take another way to understand why one can add URI wrappers in the core stream
> implementation without discussing it and even worst, without allowing any discussion about
> his choice.
Agree again.
François