Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127792 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id EA0EA1A00BC for ; Mon, 30 Jun 2025 07:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751267764; bh=rzBoBWSV1JD068fqjsUuCCjZOKkf0GFHnIgjEX5yN0c=; h=References:In-Reply-To:From:Date:Subject:To:From; b=Nmk32aOx/hMJ0mwI2Sb6GKv5VAMJ4EqZQkR/O3hpn0WQvW7ZBXTX2zw5A7NMcGXnN W4+Ulz7ME+p5628XMugdnaffkF+CQqCCPtp18HA287ITVr03GW0NEmfLLi3hR7uVAV 2Gfu1UCXvt5SUfpvOxYrnQug8tSQjGInN/vtZhyrJM493t4H8uml3m+P0d/yMAkWyP /7MX7OefZa/jWC+pjda19/+QAApD7iZk0qJBzgBVUunAOZ55BhT1ej0vKwRbH2a00u V8pg2SzcCnzdiD5JhyizegHdceWMUfldfowuX+yAdKvGxKLArbLjcnA/Y77k5Q1u21 x9uX3qXSaPh9g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3F42118002F for ; Mon, 30 Jun 2025 07:16:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 30 Jun 2025 07:15:53 +0000 (UTC) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-ae35c447234so541599266b.1 for ; Mon, 30 Jun 2025 00:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751267866; x=1751872666; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=rzBoBWSV1JD068fqjsUuCCjZOKkf0GFHnIgjEX5yN0c=; b=WGcHE7FBlYWgI11edsLDH2M0tT/H2oaP+yfu8WOoe/9g3Ic4MG+Yh1rY49c46lhLoZ 0/G7swBIpiFPJgh0sCplMwqAFzrItFRg8BcQ65NpFDNBLBy/w1C2KmCet0egFbVbTUq3 yONPVZBzgyx6AFgKrQukXwhv6hXO4EsH2gTnCxbVDYmEs7X1sSVqEG1Xac7/Bk1h8ULe 8AsuMPhYWlKYRzYfWf8rS0VPIdaLeS8kbUm5JGYAS+eC1pw5UUZjVMjth/9beSpTJkIJ +K+wGDvyLNYsjEBSLxZjiK3XPId0eROyuheaDY7q6RZaCNKeIPxPkmL+chWEEdRWC0fr no9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751267866; x=1751872666; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rzBoBWSV1JD068fqjsUuCCjZOKkf0GFHnIgjEX5yN0c=; b=dPaE+yvJns0mF8rPxJydA0Wx+O9JGFho8nGhYW19NG63PiCJVi+geLbWys1DFCzw9q Z6v1J5FfZ6aM9NTK1HD8r/5qsv8/axbR0lfzMzJ0XOVmz6ifIcfvNLvwGjRJ1f13ihtc Um5txHrURsnkI5Zhr+9YwngAtBRixvURTa2OxY9ZNWdHByQD6THuUuFumqiLw1oC0xxr TMd7RzMuJLlo/Tw08GAdNrXnHTPJO/YcHaJORAuL/3uSdaWqP82a1PKAy1QQd2fLF9SL oXLlaqWmQXCvQMVe3hi5j2MlLZc9RhS1jSaMOP0hP2Ib16wLhTUteXIg2F1gpEkcsGlM tPUw== X-Gm-Message-State: AOJu0YymVYbY5YHXWAivyrdgq/AEThtwF8TdWIOeme/7giaDW37Eyofw N4s5KyH+8iNkqSu8ig3L8nJjUX8SsydEpmJ0y1d5ESkgdwlVA2L62vRwuPmNjPjs9OSUGrR7PbG 2oXsBwyChcmp2ksg1v+8t4tDGOqZKrZumXA== X-Gm-Gg: ASbGncv+y8V9FnqIe8jpLBaiNgeZ4lW69Zi0o8qIi5mERx73c0YgtayFrc9DZe3llfP 9oknpATY2X5+S9oRVcFrLHfW0Ce1g+hP2psQIn8WsxFK8bJ294gpdhp1bMHT9/c7+IJW+F1Np/5 b0jCYw+8VY00QFtZBOnjCDRDr/NDO37gK0Od+wK+2P X-Google-Smtp-Source: AGHT+IFCIsfV/T9o9jXVAthXFs7C/3ibFXdQkS+P0TgK03xpqpqg3egztqhnTAvnrL0sDgjYDcRt8SbCOI3OzGGELWQ= X-Received: by 2002:a17:907:6ea9:b0:ad8:9394:272a with SMTP id a640c23a62f3a-ae0d2601780mr1707519066b.12.1751267865840; Mon, 30 Jun 2025 00:17:45 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 30 Jun 2025 08:17:34 +0100 X-Gm-Features: Ac12FXxEYA_5b7NbGXc69Q0MUei1DwTJYibsg7IdVgJX_Hvpk-PO8uJTq2yTHS4 Message-ID: Subject: [PHP-DEV] Re: [RFC] str_icontains To: php internals Content-Type: multipart/alternative; boundary="0000000000000cd1e20638c4d342" From: adamcable@gmail.com (Adam Cable) --0000000000000cd1e20638c4d342 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 15 Jun 2025, 9:12=E2=80=AFpm Adam Cable, wrot= e: > Hello internals, > > I'd like to present my first RFC - str_icontains, a case-insensitive > friend of str_contains > > RFC: https://wiki.php.net/rfc/str_icontains > PR (including tests): https://github.com/php/php-src/pull/18705 > > Previous discussion: https://externals.io/message/127504 > > Thanks, > Adam > I'll likely put this to a vote today/tomorrow as most issues have been discussed, and hopefully people can now have a balanced view about whether it's worth including. Thanks for all the feedback, really appreciate it. Adam > --0000000000000cd1e20638c4d342 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, 15 Jun 2025, 9:12=E2=80= =AFpm Adam Cable, <adamcable@gmai= l.com> wrote:
Hello internals,

I'd like to present my first RFC - str_icont= ains, a case-insensitive friend of str_contains

RFC: ht= tps://wiki.php.net/rfc/str_icontains
PR (including tests): https://github.com/php/php-src/pull/18705

Previous disc= ussion: https://externals.io/message/127504

Thanks,Adam

I'll likely put this to a vote today/tomorrow as most issues hav= e been discussed, and hopefully people can now have a balanced view about w= hether it's worth including.

Thanks for all the feedback, really appreciate it.

Adam
--0000000000000cd1e20638c4d342--