Re: Re: Adding pecl/http to core

From: Date: Thu, 25 Sep 2008 06:39:06 +0000
Subject: Re: Re: Adding pecl/http to core
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-40679@lists.php.net to get a copy of this message
On Thu, Sep 25, 2008 at 12:24 AM, Jani Taskinen <jani.taskinen@sci.fi>wrote: > Mike R wrote: > >> Nathan Nobbe wrote: >> >>> Michael Wallner wrote: >>>> >>>>> Hi, >>>>> >>>>> I wonder what the general opinion is on adding pecl/http to the main >>>>> PHP >>>>> distribution? Many people have poked me in the past, so I guessed it's >>>>> time to ask me and you that question once for all. >>>>> >>>> +1 >>>> >>> >>> +1 >>> >> >> FWIW, ditto. >> >> no to insult, but i find the curl api a bit painful. the http extension >>> is >>> a lot more api friendly for us oo folks out there. >>> >> > So pecl/http is actually ext/curl with OO API? for the most part, yes (i know it requires libcurl to build), but it has a set of functions in the global scope as well, like http_put() and http_post(). Why not merge the two then..? Or rather, replace ext/curl with pecl/http > once latter has BC API for us non-oo folks out there.. im not sure the global function set in pecl/http interact w/ each other as do those in ext/curl. the two sets of functions may be mutually exclusive, but i suspect there could be some BC breakage in a merge of the two extensions. -nathan

« previous php.internals (#40679) next »