Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108639 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 46269 invoked from network); 17 Feb 2020 10:48:12 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Feb 2020 10:48:12 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 87A461804E6 for ; Mon, 17 Feb 2020 01:03:35 -0800 (PST) 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 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-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) (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 ; Mon, 17 Feb 2020 01:03:34 -0800 (PST) Received: by mail-il1-f174.google.com with SMTP id o13so4705284ilg.10 for ; Mon, 17 Feb 2020 01:03:34 -0800 (PST) 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=UeGosDXli/wfowALZKQcsbIuGW98atzRDbrlV9rlU+s=; b=W3KK/i7vqhTE43NJh4W4627ADh81anYjc4glxDVuKR+Kiu281VF3JHDr5uX16lVAHK 93TfGVQHZMPxqy53Y73Ogci/rWfMaAWXQ6B/a8FhS0CyfR12W42pmU+SObc/0XkbxOYF x/uDtyf6Hec4zg5d8efCsnuXLSTIfvA0TtW4oNGEFf4kk+nhL6HPv7o/MYsKdldoH6r9 cDieSEIFbWdEapVkT+ABmQggcgPpYTtz/DmEbcYhG5yrGS9OxnKJGUMyuHa/KOulPbVp ZLX0HJLLf99EK7WREZqct7bDlFy5c6HRsTU8pl7uuEaigOz68qP6vvJAE5k7GIGJExW8 zwdg== 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=UeGosDXli/wfowALZKQcsbIuGW98atzRDbrlV9rlU+s=; b=W4Ej9/5nrW25PUuFiiejbhq8FTWfRopNWnaeX9qN1ZZ3kRLlniH2EkqLppTwIj/Aaj G8tStu9nOvCf9MRnZ/B/3y0hzLhne5RcthkhRCdogDU9eAbw6UZ+N7y4rYl/QFSJJJfj wZTtNgve2yDJIqPKxe5U+UX7gzPrrA8i939LaKnQ61xVHKqj0X4Nf2KKI5MEU9LU3Tb+ fueouMCu8+NJzgE6urg7B0sRjHQLTrxc1LG9GoXYmRabENXfTVcfJfGxSwNBoRhdIRa9 xgEWHSIvmILjuL746tBRAj2x+svaQ4xxq39DePzYPw1GVwxMIDIiBdm6MsCOOMSigAG2 lmlQ== X-Gm-Message-State: APjAAAU8UeL3PkwV0GH47fU2SrfDVeXuWJjE/2ttRzJ5MuQmiF0s6LOK hGVI6m+hBHuQkkICXSF4o8QIvLWmsY7SDjwbQ4E= X-Google-Smtp-Source: APXvYqxH8BS5giGhbIdJkum6DbR0CkJ1z3P/uCZ/6ELbBolkcUkX3E2muLVYthbVBk32DZGHoDD1HPhdfeaLaJyzZxw= X-Received: by 2002:a92:981b:: with SMTP id l27mr13941607ili.118.1581930212018; Mon, 17 Feb 2020 01:03:32 -0800 (PST) MIME-Version: 1.0 References: <4a0f4d30-c8d3-0274-413f-0f4c582418d0@aegir.sexy> In-Reply-To: Date: Mon, 17 Feb 2020 10:02:56 +0100 Message-ID: To: Guilliam Xavier Cc: "G. P. B." , Aegir Leet , "internals@lists.php.net" Content-Type: multipart/alternative; boundary="00000000000058ccd0059ec1d4da" Subject: Re: [PHP-DEV] Proposal for a new basic function: str_contains From: philipp.tanlak@gmail.com (Philipp Tanlak) --00000000000058ccd0059ec1d4da Content-Type: text/plain; charset="UTF-8" Now that we've talked about the pros and cons of case-insensitivity and multibyte variants, I'm still unsure what your opinions on those are. * Should we include a case-insensitive variant (str_icontains) ? * Should we include multibyte variants (mb_str_icontains) ? Slightly off-topic: Also, since this is my first time I'm trying to contribute: How can we proceed to write an RFC? I've read in the howto, that I need to earn RFC karma in order to create a new RFC page. How can I request that? My wiki.php.net username is: philippta and my email is philipp.tanlak@gmail.com Thanks for your help :) --00000000000058ccd0059ec1d4da--