Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118191 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97298 invoked from network); 5 Jul 2022 05:32:34 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Jul 2022 05:32:34 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6B9591804D0 for ; Tue, 5 Jul 2022 00:25:16 -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,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-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) (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 ; Tue, 5 Jul 2022 00:25:15 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id e69so13759166ybh.2 for ; Tue, 05 Jul 2022 00:25:15 -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=gVYhPwRBb1zXVsxcqf167dA+acLzWCAgU1OTsJHvg28=; b=Q1LVj+QLKUvvGObNXT/o2kID65JoXsT9vJYLOJks5ry0T1iD4rC1PdNujVyeCV54kp mFStLRQ16+U4hw4YdQMn2+AyPiGAspQaNwxrQ8d41H9FQOoUxIpMgpSfXzIqEGfBEpAv +SYmk7tICEkGY7iqYS21OD1ys8ysQqvoqk9XWHfMSFceOO53reGbF/G1Wq9Sr2GHP2u0 VeLJDWKtOfJkcMj3QTFSmaaGm7Z0VmXLU0WO4vOviKWvakqjs0TMb68S5MIpVwXWTvti WwW3on0nIUI+AmqklMdWRqhCJ6KUxgOXfS8sJ8KcozBCx/wML8lxOzzPoZ0gAqx4qBho r7mA== 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=gVYhPwRBb1zXVsxcqf167dA+acLzWCAgU1OTsJHvg28=; b=1C5UK44HGp3gYFFB43uAO+Spva/EQ+3LVmPX7nphOW+iPv4jebKXu6fkEEei5trHJo iKYaOx+qOSKej3BgtxPt6O1mvZJFwW9o6Vhoma+gkISQAhgRJ0n/E8PBC0x+LMfnExII 7BCN7ChxKGP+p5PgLtW70t/yVa3dde0JVrJHppPuCYMhHv73YW1G0DFXfHX6lh8Uag+s I2aSgrnaeox0k0jESeiZj8T/B/WNaqhh5Fqc4nOrObxJbKRRVktmleRMw7HQfLTRxqVP qHwm0n8SbOzykJaev0Ndv75HgtEOD3vRKlOCdaWCHIGiXAcCfUTwCyfbjcJo7n2IQaNR 1cNQ== X-Gm-Message-State: AJIora9h6BL86vFIpBvCIrbaxBhEj0vLdSyvbN1XXhTXidE/ScTWzxOh ureiqwBUbEGHuhLa/0PlMJC5gBzTrVrC2BCUfVD7bsTP X-Google-Smtp-Source: AGRyM1tUyY7ySpOjI9ETx2bRN/mEcq3Xk59os8/ZckoM+pe6oIKseOJJWxc09/0QxrnRkw95/GIFh3jJPiewerxDigI= X-Received: by 2002:a25:880b:0:b0:66e:3d9e:7dfd with SMTP id c11-20020a25880b000000b0066e3d9e7dfdmr11662384ybl.600.1657005915284; Tue, 05 Jul 2022 00:25:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 5 Jul 2022 09:25:04 +0200 Message-ID: To: Pierrick Charron Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000f8aba105e309c037" Subject: Re: [PHP-DEV] [RFC][Vote] New Curl URL API From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --000000000000f8aba105e309c037 Content-Type: text/plain; charset="UTF-8" > Hi internals, > > I opened voting for the new Curl URL API as part of PHP8.2. > > All recent discussions show that we are not even close to getting a > consensus on how the new CurlUrl OO API should be done. After changing my > mind 300 times in the last day, I decided to only propose the procedural > implementation that stays consistent with other functions of the ext/curl > to target 8.2. I fully support this approach: php-src is not the proper layer to build an OOP API to me. Each time it's been done, it proved too rigid for userland and ppl wrote wrappers around. I think php-src should continue to provide thin layers on top of C libraries so that userland is then empowered to build and evolve OOP APIs at will. Nicolas --000000000000f8aba105e309c037--