Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95106 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99882 invoked from network); 13 Aug 2016 00:37:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2016 00:37:46 -0000 Authentication-Results: pb1.pair.com header.from=will@wkhudgins.info; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=will@wkhudgins.info; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wkhudgins.info from 23.83.209.23 cause and error) X-PHP-List-Original-Sender: will@wkhudgins.info X-Host-Fingerprint: 23.83.209.23 brown.birch.relay.mailchannels.net Received: from [23.83.209.23] ([23.83.209.23:55883] helo=brown.birch.relay.mailchannels.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/25-55605-7DB6EA75 for ; Fri, 12 Aug 2016 20:37:44 -0400 X-Sender-Id: asmallorange|x-authuser|will@wkhudgins.info Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DC6BA12750A; Sat, 13 Aug 2016 00:37:40 +0000 (UTC) Received: from krieger.asoshared.com (ip-10-229-10-199.us-west-2.compute.internal [10.229.10.199]) by relay.mailchannels.net (Postfix) with ESMTPA id 24F16127541; Sat, 13 Aug 2016 00:37:40 +0000 (UTC) X-Sender-Id: asmallorange|x-authuser|will@wkhudgins.info Received: from krieger.asoshared.com (krieger.asoshared.com [10.135.9.54]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.6); Sat, 13 Aug 2016 00:37:40 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: asmallorange|x-authuser|will@wkhudgins.info X-MailChannels-Auth-Id: asmallorange X-MC-Loop-Signature: 1471048660570:939000932 X-MC-Ingress-Time: 1471048660570 Received: from [::1] (port=39220 helo=krieger.asoshared.com) by krieger.asoshared.com with esmtpa (Exim 4.87) (envelope-from ) id 1bYMxH-0008MA-C2; Fri, 12 Aug 2016 20:37:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 12 Aug 2016 20:37:39 -0400 To: David Rodrigues , Yasuo Ohgaki , Sara Golemon , PHP internals , Stanislav Malyshev In-Reply-To: References: <8442f1fa5544b2ca03e7cebbc64e8e5c@wkhudgins.info> Message-ID: X-Sender: will@wkhudgins.info User-Agent: Roundcube Webmail/1.1.4 X-AuthUser: will@wkhudgins.info Subject: Re: [PHP-DEV] RFC Posted for str_begins and str_ends functions From: will@wkhudgins.info I've updated the RFC to reflect the discussion here and on github. You may see it at https://wiki.php.net/rfc/add_str_begin_and_end_functions . You can see the github PR at https://github.com/php/php-src/pull/2049 . The motivation for these changes was to maximize consistency between the proposed functions and existing PHP string functions. The goal is to make these functions feel natural and add functionality to the language without cluttering it up. Thanks, Will