Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118017 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 21621 invoked from network); 20 Jun 2022 13:43:24 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Jun 2022 13:43:24 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E9C3018054C for ; Mon, 20 Jun 2022 08:32: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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 ; Mon, 20 Jun 2022 08:32:26 -0700 (PDT) Received: by mail-wr1-f52.google.com with SMTP id k22so8750422wrd.6 for ; Mon, 20 Jun 2022 08:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=vAkMl8B7HpEVHPdjQhrAmqkA/wrLZmgDqYPhMmVAFz4=; b=BI6Xfgdvr1jQ3jMWHQcgypLWq2UKjlPy+ejNt4KYF9h3YaZBqiHb4injZKUO1sTVW3 Vnw+yq0aYRuyzqy7vFEYUsvSuo/9tXUZSgqnUr1QsAPHFc3ZBJ7sadl2pwgusf3z3Yx6 A6FIkGVtHOjnOIHXzep+y93otp+aGfzC37Hkw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=vAkMl8B7HpEVHPdjQhrAmqkA/wrLZmgDqYPhMmVAFz4=; b=qoIpbA7bi23fzTG0J7Cdq4rzs5sB3hmgWlb91zI+TOjLBVM+sNpn4BuMyRSO3+Gkl3 P9Pdqhy5Ph6aSwosCKhzmArewWO6m0EX+XcFe3+w1QZWNtpepi2cNhnMQeugkVehcoHv 1AYsjMoJIw0M6iga1N7ZX4BYEWuR7NaoQinSrDeH2VoPa/6ahB/fB+ofh6RGKRlFPyO0 fbwAoIrqt9FDAqyeQVDuzm2UV/qCPjUb9TXG1CcLSKP+rEK1Zj1K+P/J9tMrF0eOU0/B mHycNPKsvXhK6TSYMkq8INMNAjsCVanHYOOTeEK/NPl7QmFkYA0HMoU/WuFKUZ9xZZr5 ziaA== X-Gm-Message-State: AJIora8ivmpljWGbYsJAhd4xMLclcVLhPWYE3doC/PpzQinm//SBqB7X 8o3RHeubO6jxsvb4WMjFaWTKcA== X-Google-Smtp-Source: AGRyM1v5d4I4r6BeAdxWg8vdTqH6CkaOlgS9y1ZnzNCWH1t8EGWCmkbU81qwJTn5Ee9ssHjD2MItqA== X-Received: by 2002:adf:ef01:0:b0:20a:8068:ca5e with SMTP id e1-20020adfef01000000b0020a8068ca5emr23698994wro.661.1655739144931; Mon, 20 Jun 2022 08:32:24 -0700 (PDT) Received: from smtpclient.apple ([94.173.138.98]) by smtp.gmail.com with ESMTPSA id g9-20020a5d6989000000b0020c5253d8dcsm13384882wru.40.2022.06.20.08.32.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2022 08:32:23 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) In-Reply-To: <5758628b-197f-000c-bfbf-8b6884b11223@gmx.de> Date: Mon, 20 Jun 2022 16:32:18 +0100 Cc: Pierrick Charron , Rowan Tommins , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <76FA5161-16C3-4570-9EF8-B75DF2E6530A@gmail.com> <5758628b-197f-000c-bfbf-8b6884b11223@gmx.de> To: "Christoph M. Becker" X-Mailer: Apple Mail (2.3696.100.31) Subject: Re: [PHP-DEV] Discussion about new Curl URL API and ext/curl improvements From: craig@craigfrancis.co.uk (Craig Francis) On 20 Jun 2022, at 14:44, Christoph M. Becker wrote: > On 20.06.2022 at 15:13, Pierrick Charron wrote: >> about the new Curl URL API, I think it's still time to finalize the = discussions and include it in the 8.2 release as it allows us to solve = some potential security issues. >=20 > Given that designing a new OO API obviously isn't uncontroversial, and = that there are only four weeks left till feature freeze, it might be = best to go with a simple procedural API for PHP 8.2 only. +1... while I'd also like an OO API, it will be a much bigger project, = and would need a fair amount of thought/discussion. As to the URL API, it solves the problem of developers making their own = URL parsers that often work differently to the cURL parser (those = differences can cause security issues); and considering it's possible = for cURL 7.62.0 (Oct 2018) to do that parsing, and it's a fairly simple = API, that would work in a similar way to the existing cURL functionality = in PHP, it would be good for PHP developers to use that in PHP 8.2. Craig