Re: Re: streams reference
| From: | Derick Rethans | Date: | Fri, 03 Jan 2003 06:38:37 +0000 |
| Subject: | Re: Re: streams reference | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93062@lists.php.net to get a copy of this message | ||
On Thu, 2 Jan 2003, Sara Golemon wrote:
> > Is there a function to get this specific information? Would
> > that be useful? Maybe something like get_registered_streams().
> >
> That does sound like it'd be useful... Unfortunately there isn't a
> userland function for that. There *IS* however, a PHPAPI call for it:
>
> PHPAPI HashTable *php_stream_get_url_stream_wrappers_hash();
>
> It wouldn't take much to make a userland wrapper for it since it already
> returns a hash table...
>
> stream_get_wrappers(); sounds like an appropriate name
right, sounds wonderful :)
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------