On Thu, 15 Feb 2024 at 03:53, Sara Golemon <poll...@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 >
Good morning from this side of the globe Sara! :) "Hell... It's about damn time" (c) Tychus, StarCraft 2. The proposed API looks good to me and covers it all as far as I can tell. -- Arvīds Godjuks +371 26 851 664 arvids.godj...@gmail.com Telegram: @psihius https://t.me/psihius