Re: Add a constant to reflect --with-curlwrappers

From: Date: Thu, 04 Apr 2013 22:42:56 +0000
Subject: Re: Add a constant to reflect --with-curlwrappers
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.internals 
Request: Send a blank email to internals+get-66963@lists.php.net to get a copy of this message
2013/4/4 Hannes Magnusson <hannes.magnusson@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 kalle@php.net

« previous php.internals (#66963) next »