Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117965 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 20590 invoked from network); 16 Jun 2022 11:19:26 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Jun 2022 11:19:26 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 27FEB18053F for ; Thu, 16 Jun 2022 06:07:26 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 16 Jun 2022 06:07:22 -0700 (PDT) Received: by mail-qk1-f179.google.com with SMTP id b142so931577qkg.2 for ; Thu, 16 Jun 2022 06:07:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WQPt3Y3leR4tNVeYQHp3NY67VUG7zBF7YS4URYZrEuo=; b=hTkF74DFVx9NSemVKqEc0CmzOyJ+7NQ1/lA+VpajSQ4V47Kk1Ehm6EZznjCOww/eqC IXF4VYSiQadnEw2OOcA0N0mvPTcRjO3uGOpFPef000rpAk5Zfc64D3D+BZf8IZsL2NFf LNZSNfaMyoWcJL+NQ3CxYh7sI6UyWb0m5qNNECRDnHLgE+12sXo6rr9/KwM9OB58oRH/ dmvCxAXe3FRvq0i5wSnlQa7Q684WOKI7FSeJ9PcbsYiIscr5C9BIE8F+/chVjZ7g3uik QpwkyoVa8MYHk+sEUM6ZqHMtrp9i3i7WdKD3fHESd4rZW0XNAy0g+MriZZ9InqnqUstY tsTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WQPt3Y3leR4tNVeYQHp3NY67VUG7zBF7YS4URYZrEuo=; b=pCByp8qd4zvZSuEcXDMcglCY0LoW2Z1NPJ9Swb6nEKM/Ky3YD1DG0YKSB+CtH+txfQ GIsmWlDeGT51dASa4ez8KB0Cm7SnWq+RCf6C+oCOg06/70xE8zOnJe1f6eXrliJN9RZO zN7fg614Xm9j8+as7koYUzrvsC+vli1lQaRwWIdvfyNMlKvXcf6saITg08XFdv57qoI8 DeC6hzwVKbLvnkErv4H5PHlXUPC7igNmbXjFBDNb2EahVwRZVIdz6zLAnRwVxJWUgus5 rXBS0QArKBHmrEz1d5DGW5f6wARo0iz1wYdrwgE3qqIhqINbf7mEJQFy/NchtCalJja3 DiZg== X-Gm-Message-State: AJIora96DKg/G0Yvp9Bus5L062KGELFDGFc2oiLdNpCJJSv3Gpl9hWRi 0YNtxTrKO+QytkOWVEOcSEvNUsqCV85PDhlR+r4Zk9Eg X-Google-Smtp-Source: AGRyM1t+GetWl37k9yQo5fYb1G4qeaN+QaXjyVHNWo/s22sT22h5q/JhfY7EaQFdE2VpO7hZxouxoW4FqjnE49ze3C4= X-Received: by 2002:a05:620a:850:b0:6a6:a496:872 with SMTP id u16-20020a05620a085000b006a6a4960872mr3267129qku.540.1655384841859; Thu, 16 Jun 2022 06:07:21 -0700 (PDT) MIME-Version: 1.0 References: <64c92c40-c180-0ea2-9b24-ec61b46640ab@bastelstu.be> In-Reply-To: <64c92c40-c180-0ea2-9b24-ec61b46640ab@bastelstu.be> Date: Thu, 16 Jun 2022 14:07:11 +0100 Message-ID: To: Pierrick Charron Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000077387905e1905144" Subject: Re: [PHP-DEV] Discussion about new Curl URL API and ext/curl improvements From: tekiela246@gmail.com (Kamil Tekiela) --00000000000077387905e1905144 Content-Type: text/plain; charset="UTF-8" First of all, thank you for working on this. I wanted OO API for Curl for a long time. Exceptions all the way. Code that's not using exceptions is usually more clunky and error-prone. The new OO API shouldn't have the possibility to return null/false on error. This is considered a thing of the past nowadays and the majority of developers prefer exceptions on error. Please do not add any more procedural APIs. The existing ones should be deprecated and removed at some point in the future. Regards Kamil --00000000000077387905e1905144--