Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109174 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 64931 invoked from network); 20 Mar 2020 21:12:58 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Mar 2020 21:12:58 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 525181804D8 for ; Fri, 20 Mar 2020 12:36:27 -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, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 20 Mar 2020 12:36:26 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id w4so7699456lji.11 for ; Fri, 20 Mar 2020 12:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FskSRyc2Ljebo8XOL3Zr8Me62gY/nfzxcDiFvl7C3iY=; b=L6PXJaRvAzh95Qdai/DBtUSxgDB1eHZ27inLrWGRHQQVHE/qe13on9uoZDA+KymY55 7dcKyeBddEbt8KxHhLQobKVacB9aSbBCJT6CIVPb2NU7CFQUu3Y3wzvgtfQKycMg/7ds f3XT+08t2IKsOQu0Qwrj9aY0z6TDdQn7krM6n/w1jWscflv9Gb9Zg4fjaHSLGlRiXbW/ lkXbKLCbsWcjmkMDyW3PahupUr7ZCbJhFfgVEovGBEOwJWO2Wzy9AKl1mO2MAsObSupT FpbYxpyVzHwBxLWHLuD2IIGNKs1+1o0Wrkprz8z1aH4aFxcAvfcpMDW9bXCPZjheFi1a szCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FskSRyc2Ljebo8XOL3Zr8Me62gY/nfzxcDiFvl7C3iY=; b=RuiTCcb665WaOkYhGrl/WizLeoV/ThY/r+0b798BNrZ5KvQ80goIsgSifC4DQ7pEr0 moqushQvjxZJ1kG6n9pl6XnaWVflAs9B2ojn40Rfb+gFt9I35iMD3FnOErHrIBAkTJu/ vQUB9nqEpQNQlnOzg0lSSutPwGVyXXYRvzRVwgSx/pgNQnetQ5F2st5SnP7T7nFavj4e HNywiSxc/vE4dzilryPDCXa2Vd2oxs4pT6Mc+CxnztOgHVyCVuLrOW2BKNn72KsuWF5w kXXkb4ZuZzUjrKOHJBX0wE0XpcloAKdFJUq5ecnIj6swVJ873zRH5Ta1BtEY82RrTaJL QwXw== X-Gm-Message-State: ANhLgQ3ssy90drdRj5F8nshab0EM/1KHzXPom1AXDf8XTeUULaoov0A0 W5YMCu1T5tVgWohsvfeFk7/Usp5akLSJxtU3Yw== X-Google-Smtp-Source: ADFU+vsQcu7b/QUfu+ddwk+Z6+PSqTrJY6A5B61ZsjIbxB5ovKCLKGa2kwtlr3v2ffzjCWICsrXrDNRal7AFUdYBw38= X-Received: by 2002:a05:651c:106:: with SMTP id a6mr6569014ljb.143.1584732985219; Fri, 20 Mar 2020 12:36:25 -0700 (PDT) MIME-Version: 1.0 References: <8442f1fa5544b2ca03e7cebbc64e8e5c@wkhudgins.info> <683c5da474e13283030cac3d0c0ec080@wkhudgins.info> <2c37999d1e5372ae6ab48bfce5420796@wkhudgins.info> <2CF672F8-12F5-4D37-8B8C-591A6E695220@benramsey.com> <78034520cdb610d923e25d47ed718938@wkhudgins.info> <000a01d52e91$2a4b6f20$7ee24d60$@jhdxr.com> <93528f103c149b7c48e8f35914049d06@wkhudgins.info> <97884add-88fd-e09e-92c6-2c1b68c579f5@xs4all.nl> <22ac19ecaf897370facfe9fd0a8b1993@wkhudgins.info> <0f8ab2d1-c308-7168-0aba-a5bcf327c3ad@telia.com> <4d340e64db8d81f47cd7e4f7d3a4c268@wkhudgins.info> In-Reply-To: Date: Fri, 20 Mar 2020 20:36:14 +0100 Message-ID: To: will@wkhudgins.info Cc: Nikita Popov , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [VOTE] Voting opens for str_starts_with and ends_with functions From: guilliam.xavier@gmail.com (Guilliam Xavier) On Mon, Jul 22, 2019 at 10:54 AM Nikita Popov wrote: > > On Fri, Jul 5, 2019 at 4:13 AM wrote: > > > Hello all, > > > > After 15 days of discussion I have opened up voting on the following RFC > > (https://wiki.php.net/rfc/add_str_begin_and_end_functions) . > > > > You can access the voting page here: > > https://wiki.php.net/rfc/add_str_begin_and_end_functions/vote > > > > I have never set up a vote on doku-wiki so please let me know if I made > > the vote incorrectly! > > > > Thanks, > > > > Will > > > > As we're already two days past the announced end, I've closed the RFC vote. > The final outcome is 26 in favor vs 20 against for str_starts_with and > friends, and 4 in favor to 36 against for mb_starts_with and friends. > Because a 2/3 majority is required, both parts of the proposal are declined. > > Based on the discussion during voting, I think that trying this again with > just str_starts_with+str_ends_with without the case-insensitive variants > might pass, as that's where the main controversy seems to be -- though some > people also expressed the view that these functions are too trivial to add > to the standard library. > > In any case, thanks for driving this through the RFC process! > > Nikita Hello Will, More than 6 months have passed, and in the meantime the related str_contains RFC has been accepted for the next PHP 8.0 (). Would you be willing to reboot your RFC with just str_starts_with and str_ends_with (and a stronger case of how people keep implementing them using the inefficient and/or error-prone currently available alternatives)? Best regards, -- Guilliam Xavier