Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106187 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38173 invoked from network); 9 Jul 2019 00:33:00 -0000 Received: from unknown (HELO out4-smtp.messagingengine.com) (66.111.4.28) by pb1.pair.com with SMTP; 9 Jul 2019 00:33:00 -0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 75CDB21F2E; Mon, 8 Jul 2019 17:52:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 08 Jul 2019 17:52:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benramsey.com; h=from:message-id:content-type:mime-version:subject:date :in-reply-to:cc:to:references; s=fm2; bh=Fw2BlaPHisjtd1aN0VkvfUC nueVpleDKiixp07kWHkw=; b=jgIqaAI8QoT6aTVLwyceU7jstRwTgXwjV1hoiRm FOjHwaYBrUe6bexQcXcJm0Uq74rFAAcvGIu7XOO2tadDOzOW336MzYgq7Sqyln45 9/lScWdo5VYSlRubmxFDXDlnvUlbnkHgOiCJ8vKYjnrZsDVpekwcetRj9zxgkIp1 o52lUq/jH0/K6bjfUtROB+HKjGepjkXKb8+NP9lagyfmu0GqXYuLnonrSUgCQpBM yIUM9T/uwwFAlIrQ7ibZQn4XOQbDbQm1I9hgsu52lz3PFbuQ8/2UrjGcCTotLyej A/xdAXZ4XpnUU18Ogjmqa2dBx5YGhWw++CSLwru1Cve/AwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Fw2Bla PHisjtd1aN0VkvfUCnueVpleDKiixp07kWHkw=; b=OsfVPZ8YkqDylRG7L0OCZU /GO8EfCiPg9RfDGY4fZqPKeWUD99a21Li9yLaLNkpE7qTynmW0MjhTNV1WcnWN4o TK5R0/FhNMWZ+9k/A4QwcR0b/rNErJ6GZx+wtAvq/CzQ+D4VwEzpGLdpViiJM2JW peI5ZwZi+cqmvW5+xf1ESkbxCUcTqP8ARX02oKoX97msXSrWu6H9VHp6E915/zzV uxbWRWB8Egd5i79ll2w30uwsTfFvdFmAq39NUcf3g+svkhlB9DWPX/IhVtmFGY5e St8YHZYrmTZ1Ki67LSSTfHn7j3mHV+B5CscMLoHuqeUAbcXSW3e6TzT6UXFI1yog == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrgedugddtvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhkfgtggfuffgjvfhfofesghdtmherhhdtjeenucfhrhhomhepuegvnhcutfgr mhhsvgihuceosggvnhessggvnhhrrghmshgvhidrtghomheqnecuffhomhgrihhnpegvgi htvghrnhgrlhhsrdhiohenucfkphepleeirdeiuddrudejtddrhedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegsvghnsegsvghnrhgrmhhsvgihrdgtohhmnecuvehluhhsthgvrh fuihiivgeptd X-ME-Proxy: Received: from [10.10.42.56] (h96-61-170-50.lvrgtn.dsl.dynamic.tds.net [96.61.170.50]) by mail.messagingengine.com (Postfix) with ESMTPA id 712AD8005C; Mon, 8 Jul 2019 17:52:28 -0400 (EDT) Message-ID: <24737D9E-EAAE-4763-913A-CE1CD291EC5E@benramsey.com> Content-Type: multipart/signed; boundary="Apple-Mail=_00102161-67CD-49CF-BA99-CDADAB7455A9"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Mon, 8 Jul 2019 16:52:27 -0500 In-Reply-To: <660880c5-6273-1f6d-2181-3cb4c67fb508@telia.com> Cc: Theodore Brown , Will Hudgins , PHP internals To: =?utf-8?Q?Bj=C3=B6rn_Larsson?= 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> <660880c5-6273-1f6d-2181-3cb4c67fb508@telia.com> X-Mailer: Apple Mail (2.3445.104.11) Subject: Re: [PHP-DEV] [VOTE] Voting opens for str_starts_with and ends_with functions From: ben@benramsey.com (Ben Ramsey) --Apple-Mail=_00102161-67CD-49CF-BA99-CDADAB7455A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jul 8, 2019, at 13:09, Bj=C3=B6rn Larsson = wrote: >=20 > Having this _ci postfix is a new way of indicating case = insensitivity. > I think that it might add to negative votes. Personally I think it's a > good idea to mimic existing ways, even if they are a bit awkward. >=20 > How about using a flag or following "tradition", like stri_starts_with > & stri_ends_with or str_istarts_with & str_iends_with? That would > follow strstr / stristr and str_replace / str_ireplace. >=20 > I have no voting rights though. I made this recommendation earlier in the other thread = (), but it didn=E2=80=99t get = any traction or response: > maybe the signatures could be revised to pass a third parameter? >=20 > str_starts_with($haystack, $needle, $case_sensitive =3D true): bool Since voting has already begun, is this something that could still be = considered? -Ben --Apple-Mail=_00102161-67CD-49CF-BA99-CDADAB7455A9 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQToXQMR3fpbrPOmEOewLZeYnIwHGwUCXSO7GwAKCRCwLZeYnIwH G1ICAP4r10XqmdWX+Q6VIgYTtUMtvczZB0tBNocf5bmo8wKLOwEAg+mlfevxlPyu Dui0dWPj7kbsmHDhhp9t2k4a2VymNY4= =tvgu -----END PGP SIGNATURE----- --Apple-Mail=_00102161-67CD-49CF-BA99-CDADAB7455A9--