2013/4/4 Hannes Magnusson <hannes.magnus...@gmail.com>:
> stream_wrapper_unregister("http");
> stream_wrapper_register("http", "CurlStreamWrapper");
> and then stream_wrapper_restore("http") to go back to the core streams.

If we alter curlwrappers to work like that, then it could stay, and
since this is an experimental feature we can break BC just as much as
we like for it.

Allowing overrides to core features is indeed a very bad idea and can
cause headaches like this one, I won't go too much into this now as we
also have the phpconfopts() thread going where theres probably gonna
be some more discussions regarding this subject in general.


-- 
regards,

Kalle Sommer Nielsen
ka...@php.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to