Re: Discussion about new Curl URL API and ext/curl improvements
| From: | Rowan Tommins | Date: | Mon, 20 Jun 2022 16:17:35 +0000 |
| Subject: | Re: Discussion about new Curl URL API and ext/curl improvements | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118022@lists.php.net to get a copy of this message | ||
On 20/06/2022 14:44, Christoph M. Becker wrote:
Given that designing a new OO API obviously isn't uncontroversial, and that there are only four weeks left till feature freeze, it might be best to go with a simple procedural API for PHP 8.2 only.I haven't read back through the thread, but my impression was that *for the curl URL facility specifically* the opposite was the case: a simple object with no procedural equivalent would be everyone's preference. CurlFile provides enough of a precedent for adding that IMO. Either way, we have to agree on some naming details, so I've left some comments on the PR. (By the way, the PR you linked is to merge into your own fork's master, not the actual central php-src repo. Not sure if that was deliberate.) Regards, -- Rowan Tommins [IMSoP]