[php-src] Issue #9224: StreamWrapper support for glob()
| From: | timint | Date: | Tue, 02 Aug 2022 01:02:12 +0000 |
| Subject: | [php-src] Issue #9224: StreamWrapper support for glob() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242101@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9224
Author: timint
### Description
glob() doesn't support StreamWrappers. It does surprisingly return an empty array instead of
triggering an error or notice when passing a stream other than file://.
I couldn't find that any discussion has been brought up before regarding the topic.
Is glob() fit the way it is, or should it have streamwrapper support in the future?