R: [RFC] OOP API for cURL extension

From: Date: Fri, 16 Feb 2024 19:04:28 +0000
Subject: R: [RFC] OOP API for cURL extension
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-122399@lists.php.net to get a copy of this message
Hi Sara, i like this proposal. Silvio ________________________________ From: Sara Golemon <pollita@php.net> Sent: Wednesday, February 14, 2024 7:47 PM To: PHP internals <internals@lists.php.net> Subject: [RFC] OOP API for cURL extension 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

« previous php.internals (#122399) next »