Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118022 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 30758 invoked from network); 20 Jun 2022 14:28:40 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Jun 2022 14:28:40 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D158A18054C for ; Mon, 20 Jun 2022 09:17:39 -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,FREEMAIL_FROM,NICE_REPLY_A, 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-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 09:17:39 -0700 (PDT) Received: by mail-wr1-f54.google.com with SMTP id k22so8928089wrd.6 for ; Mon, 20 Jun 2022 09:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=5ICcPYNjnEBlxpLfOPMQSDLifnMPtrS4mMdAdTl/A94=; b=YfjmhyS/VSKc+65PZ5dwMBHyoiIpigxjvbuyp4DbRA/fmjmU0Hf0TdNJEoXrbK8xeo 8u9Dbw/z0tv9bf79I+Llk/I+10rHKKLTn9oP4sVCYz/KP8c7fQeusoB9JbE+mHm3cmTB I8rVqUZQSQk0suMAs0ERNs8RfiE6cQcm8rphvEzwm1Ua67VfRS/Xbl2OT4AxILulgp3O TK3LTNm1Z/7n5O9hQ7CO7JQH0Bl+EXcLXeKb49C8QZziUVCQDR4Ztw6M5P/N3gcXZShR pzp2C0yPbm0KyuinPggTLTvKs5vAWa/Rv7b4+KWN2edN6LomMsE4+AfNoBjfSx7F7U9K qqzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=5ICcPYNjnEBlxpLfOPMQSDLifnMPtrS4mMdAdTl/A94=; b=UgyCBbywePbPXIXCOcQJoZeBURc4gGVWWi/WFt4ovUBHTixJKCcgbIFgoCw9OuA5jX ZgXl8NyER7kyZonXn7luDemOS6b0PdawGSNBbsNGBSVAvIqU0CY7Tr8W2kY7GLkcrw7j QAX78eJG9PqUVPfTt9Aeb849qDKnM1wzZPNB0l4BqBltqQ3fe/g95vLBEOgict8VfYWX TiTVfK0D1NYq4iiOMSuCBtEqFALZVodgyZ4UH/0NrysuAS+Sd/LSLUv9Y0vylx78a3Uc Z40bCdvZLjQ67b4Ew0LmF+gTXM2gCm4hLS89ymZ57Cja3pTchH8pGLYfxWQZkOYYFJq3 1UdA== X-Gm-Message-State: AJIora+TMEf5keorqi7OYQbtMHXZv6dpRjq+ZOwael5XGiApikTL2l7f aE6SpZOFyendOnToe/HqFi5zXJYinDs= X-Google-Smtp-Source: AGRyM1sCGek+MZzr4ZjW+ZhHv1IRLUvnXDdnX02/azKUzWCCbs2KrtvBr4LxyX2z01pflJk92ifYiQ== X-Received: by 2002:adf:ecc6:0:b0:21a:3dca:4dd7 with SMTP id s6-20020adfecc6000000b0021a3dca4dd7mr17587814wro.366.1655741858208; Mon, 20 Jun 2022 09:17:38 -0700 (PDT) Received: from [192.168.0.22] (cpc104104-brig22-2-0-cust548.3-3.cable.virginm.net. [82.10.58.37]) by smtp.googlemail.com with ESMTPSA id b18-20020a056000055200b0021a38089e99sm13439533wrf.57.2022.06.20.09.17.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jun 2022 09:17:37 -0700 (PDT) Message-ID: <6d24947d-e004-1354-a608-b344b4f151a5@gmail.com> Date: Mon, 20 Jun 2022 17:17:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: en-GB To: internals@lists.php.net References: <76FA5161-16C3-4570-9EF8-B75DF2E6530A@gmail.com> <5758628b-197f-000c-bfbf-8b6884b11223@gmx.de> In-Reply-To: <5758628b-197f-000c-bfbf-8b6884b11223@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Discussion about new Curl URL API and ext/curl improvements From: rowan.collins@gmail.com (Rowan Tommins) On 20/06/2022 14:44, Christoph M. Becker wrote: > 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. I haven't read back through the thread, but my impression was that *for the curl URL facility specifically* the opposite was the case: a simple object with no procedural equivalent would be everyone's preference. CurlFile provides enough of a precedent for adding that IMO. Either way, we have to agree on some naming details, so I've left some comments on the PR. (By the way, the PR you linked is to merge into your own fork's master, not the actual central php-src repo. Not sure if that was deliberate.) Regards, -- Rowan Tommins [IMSoP]