Re: [RFC] OOP API for cURL extension
| From: | Yousuf Tafhim | Date: | Thu, 15 Feb 2024 12:36:03 +0000 |
| Subject: | Re: [RFC] OOP API for cURL extension | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122389@lists.php.net to get a copy of this message | ||
+1 from me too
On Thu, Feb 15, 2024 at 5:30 PM Flávio Heleno <flaviohbatista@gmail.com>
wrote:
> On Wed, Feb 14, 2024 at 10:44 PM Sara Golemon <pollita@php.net> wrote:
>
>> Good afternoon folks, I'd like to open discussion on adding OOP APIs to
>> the cURL extension.
>> https://wiki.php.net/rfc/curl-oop
>>
>> This has been a long standing bug-bear of mine, and I think its time has
>> come.
>>
>> try {
>> (new \CurlHandle)->setOpt(YOUR_VOTE, true)->exec();
>> } catch (\CurlHandleException $ex) {
>> assert(false); // Why not?!
>> }
>>
>> -Sara
>>
>
> Although I do not have voting karma, that'd be a +1 from me!
>
> --
> Atenciosamente,
>
> Flávio Heleno
>
--
Regards
Muhammad Yousuf Tafhim
Full Stack Developer | Moodle Developer | WordPress Developer
0092-321-2474-383 yousuf.tafhim@gmail.com
[image: twitter] <https://twitter.com/yousuftafhim> [image: linkedin]
<https://www.linkedin.com/in/yousuftafhim/>