Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127776 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id CD3281A00BC for ; Fri, 27 Jun 2025 17:02:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751043625; bh=U3ZMhcyxU4iwcwBCORJGu8ssG7N/sRgJ3SbSj8VikR8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=nTq6Dq6lTxiv1rNzyO0x2yX9sDUnfPSzLT/yf64uBn0btwmYzLDigAIWVXmwWKoK7 v/z2TAwqVXfFyCP8g+l3WvG939dL9jEZ6lZN42ZjzB2HiGcZm3UuhJvkhMyC4fvV1e /cJDTVv5T7vlXgAn4sdlfh0781qfe9Yn0jQkOOM70Eig2z/+SYW0fRGMv50sorwrcC fR7w/iVnvkl01dsYILDT9F1wWYZeIuAvhjDT8VOCIlG5Dl6W3vn+Tod7+VcsX10Z5p pw9Jv7XbDXQOKhmbRDDHsrneg/kyf++uYUut19TQjX1S9Rh8vJkzQZKou/qr6tQyj3 jxMFdoJ3jeT2A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E32BE180041 for ; Fri, 27 Jun 2025 17:00:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from premium76-5.web-hosting.com (premium76-5.web-hosting.com [162.213.255.108]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 27 Jun 2025 17:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pmjones.io; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=U3ZMhcyxU4iwcwBCORJGu8ssG7N/sRgJ3SbSj8VikR8=; b=yIDWNgTnmJSD21zCKu6lU/BcHO kbOYTFoiNne+OR2MshEJhSH3NSwnaNCfHotUYfffRrFUyF0H+RZfOkTX/3+gmOxi/uZ3Yy9uh+4LS Sg7HlG8PGzHh0JaPqvbS9gxd2LRoVeyxLgZztvRaKQu5xCdqQvldpGDR/ngBJMZ2lEYJl42nEvtak /CFfgkjkEUrD8xWdPh3fYGNDqXurFpUiF5xe5W1Jn9CW2uvVAW+i491wGI1IumRRUWib0x0m1jtGI nHa78VGn7jjrhxtHUFAVKVB1euoeV3pnG/+RkjMLNYbnL0O0SZxjTbEJZ3lWE6E8BiUm63/u4+nnr HzjKgw/g==; Received: from 107-223-28-39.lightspeed.nsvltn.sbcglobal.net ([107.223.28.39]:58258 helo=smtpclient.apple) by premium76.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1uVCSm-0000000AaSs-3dTM; Fri, 27 Jun 2025 13:02:08 -0400 Content-Type: text/plain; charset=us-ascii Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Object-oriented curl API v2 In-Reply-To: Date: Fri, 27 Jun 2025 12:01:56 -0500 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <22a4327d-b27d-4e24-b07a-ae380fe8a0c4@app.fastmail.com> To: "Rowan Tommins [IMSoP]" X-Mailer: Apple Mail (2.3826.600.51.1.1) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - premium76.web-hosting.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pmjones.io X-Get-Message-Sender-Via: premium76.web-hosting.com: authenticated_id: pmjones@pmjones.io X-Authenticated-Sender: premium76.web-hosting.com: pmjones@pmjones.io X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched From: pmjones@pmjones.io ("Paul M. Jones") Hi all, > On 26/06/2025 18:21, Eric Norris wrote: >> I know that in the prior discussion, Rowan Tommins had a vision for a >> high-level API (https://externals.io/message/122371#122424) >=20 >=20 > I think calling it a "vision for a high-level API" is making it sound = far more grandiose than what I suggested. What I suggested, and would = still like to see, is a small number of additional methods, for setting = really common options in a more user-friendly way. To avoid drifting too much from existing expectations about how such a = cURL interface *ought* to look (as vs what happened with the URL RFC) it = would be wise to examine existing userland work earlier rather than = later. A brief search at https://packagist.org/?query=3Dcurl reveals = https://packagist.org/packages/php-curl-class/php-curl-class and = https://packagist.org/packages/curl/curl right away, each with millions = of downloads already. These and other userland offerings should help inform the first steps, = in any case. -- pmj