Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118083 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 26555 invoked from network); 24 Jun 2022 12:34:27 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 24 Jun 2022 12:34:27 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 07B6818050B for ; Fri, 24 Jun 2022 07:24:29 -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-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) (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 ; Fri, 24 Jun 2022 07:24:28 -0700 (PDT) Received: by mail-qv1-f47.google.com with SMTP id n15so4704000qvh.12 for ; Fri, 24 Jun 2022 07:24:28 -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=TWxE8mTGz1KWDMuRpxzygEBqcOrVQ0OfBRFvN0buZSo=; b=EzvVqHUyEH8fzxOEeSQ4KNUMOAUXI5+yJs4VI92TvnazaSpaETvACgsi5JwlRkpiSk P4PWCv4Q+xGHJCSn3OqVEKnUJpkpK4xaDgvq5keZwxRMlINPLb9LipYs73Sbv09452Hq Wr3sWRu3TcSTKftIYWGFbLMrtQor1tZsr3QP5xBVw5fhq5V+Z3pMWfrlxzopZvW4M7li c9YhrpDumofSSI3e6PFpnVMJLXByfcGBbAZkWgMqYAAZlVWqUscYUF0+4qxwvPqynoE6 xjVK45Y5j3wAXfx+6pZClO6jovMIIPJofKFwWhZso2LAFuboyUyqGHure+tbylzePXwU NK8g== 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=TWxE8mTGz1KWDMuRpxzygEBqcOrVQ0OfBRFvN0buZSo=; b=MuYm/4vcqwqSe5UzJsV8vEmgAhiXwcVoh9RAwj+vVqoajLS/N3fS7ZiV5ke7Ts10f1 LS6UGJ0rQ+krNeu4w68t15yM2/yW7c0Q8rzM8ry7wA4Pa0svKXslh8/+2g7dcS2kfr7e hO1l9dTXrfasBwFavAcVqC5rE/IF0cVwU/r+eoFph2e9mEUd8IbnZrzdJZb2MsQkMAq0 9Qj9eQBbSO7uuBf8XDZqQrrpIcNXnEAUoKvVYSi42VCKk7LfwjnlWIFJ+G/+2l+RAObh pF792gIW0UDCX9Zw9YWmze4JuNtiMXF20qAN+iTuovXqzSPkEPx6d7CQKFXQbqRcB/Ay 7ElQ== X-Gm-Message-State: AJIora+lNQJpIJmirPBJfGyMqxKRXkLVx5NFlXuN4dT+Oe61FiyFr4xk +PYIVP+kOuP9G0GvDoRFjcmQ1nxz7y/mPEXTNgY= X-Google-Smtp-Source: AGRyM1uTjZQwySzQgymoCu+dzbWChPlHF59SA9Jrzkej3gDoliry32a5D8K1nkzhF0r1x4sdhf6Fx/JIuANNi+Iyeks= X-Received: by 2002:ad4:5765:0:b0:470:a2ec:63c4 with SMTP id r5-20020ad45765000000b00470a2ec63c4mr1228525qvx.40.1656080667789; Fri, 24 Jun 2022 07:24:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 24 Jun 2022 15:24:17 +0100 Message-ID: To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: Pierrick Charron , Levi Morrison , PHP internals Content-Type: multipart/alternative; boundary="000000000000ec4e9a05e2325358" Subject: Re: [PHP-DEV] [RFC] [Under Discussion] New Curl URL API From: tekiela246@gmail.com (Kamil Tekiela) --000000000000ec4e9a05e2325358 Content-Type: text/plain; charset="UTF-8" Please do not add yet another thin wrapper of an underlying C API. PHP is not a drop-in replacement of C. PHP is a much higher-level language. Developers should not have to understand how the underlying library works to be able to use PHP. We need to move away from thin C wrappers as a language. PHP should abstract more, not less, of C code. The new API doesn't have to have exactly the same names as the C library. Please follow PHP naming conventions and implement OOP-based API. --000000000000ec4e9a05e2325358--