On Thu, Apr 4, 2013 at 9:52 PM, Hannes Magnusson
<[email protected]> wrote:
> Its not only about maintaining it.
> This experiment failed a long time ago. Overwriting the core streams
> has proven itself to be the wrong way.
I cannot agree more.
> If there was a way for userspace to say "overload with curl" then thats fine.
> We already have a procedure for this:
>
> stream_wrapper_unregister("http");
> stream_wrapper_register("http", "CurlStreamWrapper");
> and then stream_wrapper_restore("http") to go back to the core streams.
>
I wonder what one will do with open streams during the switches. That
can't go well.
cheers,
--
Pierre
@pierrejoye
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php