Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109179 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 53242 invoked from network); 21 Mar 2020 16:47:15 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Mar 2020 16:47:15 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E91921804E2 for ; Sat, 21 Mar 2020 08:10:56 -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,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS46606 70.40.192.0/19 X-Spam-Virus: No X-Envelope-From: Received: from gateway12.unifiedlayer.com (gateway12.unifiedlayer.com [70.40.207.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 21 Mar 2020 08:10:56 -0700 (PDT) Received: from cm4.websitewelcome.com (unknown [108.167.139.16]) by gateway12.unifiedlayer.com (Postfix) with ESMTP id 0F5312009F162 for ; Sat, 21 Mar 2020 10:10:55 -0500 (CDT) Received: from krieger.asoshared.com ([65.99.237.153]) by cmsmtp with ESMTP id Ffm2ju7f1Dhm0Ffm2jF3Bj; Sat, 21 Mar 2020 10:10:55 -0500 X-Authority-Reason: nr=8 Received: from krieger.asoshared.com ([65.99.237.153]:17299) by krieger.asoshared.com with esmtpa (Exim 4.91) (envelope-from ) id 1jFfm2-003Sr2-Id; Sat, 21 Mar 2020 10:10:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 21 Mar 2020 10:10:54 -0500 To: Guilliam Xavier Cc: Nikita Popov , PHP internals In-Reply-To: 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> Message-ID: <66eb46638f74dedd26bf3583c254868e@wkhudgins.info> X-Sender: will@wkhudgins.info User-Agent: Roundcube Webmail/1.3.3 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - krieger.asoshared.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - wkhudgins.info X-BWhitelist: no X-Source-IP: 65.99.237.153 X-Source-L: Yes X-Exim-ID: 1jFfm2-003Sr2-Id X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: krieger.asoshared.com [65.99.237.153]:17299 X-Source-Auth: will@wkhudgins.info X-Email-Count: 1 X-Source-Cap: d2todWRnaW47d2todWRnaW47a3JpZWdlci5hc29zaGFyZWQuY29t X-Local-Domain: yes Subject: Re: [PHP-DEV] [VOTE] Voting opens for str_starts_with and ends_with functions From: will@wkhudgins.info On 2020-03-20 14:36, Guilliam Xavier wrote: > 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, Yes, I'll start working on that again. Thanks, Will